Commit eb73f514 authored by Anil Belur's avatar Anil Belur Committed by Greg Kroah-Hartman

staging: lustre: llite: dir.c - fixes indented labels in code

- this fixes "WARNING: labels should not be indented"
Signed-off-by: default avatarAnil Belur <askb23@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 576eb39a
...@@ -1501,7 +1501,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1501,7 +1501,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
GOTO(out_req, rc = -EFAULT); GOTO(out_req, rc = -EFAULT);
rc = -EOVERFLOW; rc = -EOVERFLOW;
} }
skip_lmm: skip_lmm:
if (cmd == IOC_MDC_GETFILEINFO || cmd == LL_IOC_MDC_GETINFO) { if (cmd == IOC_MDC_GETFILEINFO || cmd == LL_IOC_MDC_GETINFO) {
struct lov_user_mds_data *lmdp; struct lov_user_mds_data *lmdp;
lstat_t st = { 0 }; lstat_t st = { 0 };
...@@ -1525,7 +1525,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1525,7 +1525,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
GOTO(out_req, rc = -EFAULT); GOTO(out_req, rc = -EFAULT);
} }
out_req: out_req:
ptlrpc_req_finished(request); ptlrpc_req_finished(request);
if (filename) if (filename)
ll_putname(filename); ll_putname(filename);
...@@ -1589,9 +1589,9 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1589,9 +1589,9 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (copy_to_user(&lumd->lmd_st, &st, sizeof(st))) if (copy_to_user(&lumd->lmd_st, &st, sizeof(st)))
GOTO(free_lsm, rc = -EFAULT); GOTO(free_lsm, rc = -EFAULT);
free_lsm: free_lsm:
obd_free_memmd(sbi->ll_dt_exp, &lsm); obd_free_memmd(sbi->ll_dt_exp, &lsm);
free_lmm: free_lmm:
OBD_FREE_LARGE(lmm, lmmsize); OBD_FREE_LARGE(lmm, lmmsize);
return rc; return rc;
} }
...@@ -1653,7 +1653,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1653,7 +1653,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
CDEBUG(D_QUOTA, "copy_to_user failed\n"); CDEBUG(D_QUOTA, "copy_to_user failed\n");
GOTO(out_poll, rc); GOTO(out_poll, rc);
} }
out_poll: out_poll:
OBD_FREE_PTR(check); OBD_FREE_PTR(check);
return rc; return rc;
} }
...@@ -1702,9 +1702,9 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1702,9 +1702,9 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
rc = -EFAULT; rc = -EFAULT;
} }
out_quotactl_20: out_quotactl_20:
OBD_FREE_PTR(qctl_20); OBD_FREE_PTR(qctl_20);
out_quotactl_18: out_quotactl_18:
OBD_FREE_PTR(qctl_18); OBD_FREE_PTR(qctl_18);
return rc; return rc;
} }
...@@ -1726,7 +1726,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1726,7 +1726,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (rc == 0 && copy_to_user((void *)arg,qctl,sizeof(*qctl))) if (rc == 0 && copy_to_user((void *)arg,qctl,sizeof(*qctl)))
rc = -EFAULT; rc = -EFAULT;
out_quotactl: out_quotactl:
OBD_FREE_PTR(qctl); OBD_FREE_PTR(qctl);
return rc; return rc;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment