Fix checkpatch.pl "else should follow close brace '}'" errors
Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
);
path_put(&path);
return rc;
);
path_put(&path);
return rc;
if (sb->s_qcop->quota_off) {
return sb->s_qcop->quota_off(sb, off
);
if (sb->s_qcop->quota_off) {
return sb->s_qcop->quota_off(sb, off
);
cmd == LL_IOC_MDC_GETINFO)) {
rc = 0;
goto skip_lmm;
cmd == LL_IOC_MDC_GETINFO)) {
rc = 0;
goto skip_lmm;
if (copy_from_user(&lum, lump, lum_size)) {
rc = -EFAULT;
goto out_set;
if (copy_from_user(&lum, lump, lum_size)) {
rc = -EFAULT;
goto out_set;
- }
- else if ((lum.lmm_magic != LOV_USER_MAGIC) &&
+ } else if ((lum.lmm_magic != LOV_USER_MAGIC) &&
(lum.lmm_magic != LOV_USER_MAGIC_V3)) {
rc = -EINVAL;
goto out_set;
(lum.lmm_magic != LOV_USER_MAGIC_V3)) {
rc = -EINVAL;
goto out_set;
result = dt_lookup_dir(env, p, name, fid);
if (result == 0){
o = dt_locate(env, dt, fid);
result = dt_lookup_dir(env, p, name, fid);
if (result == 0){
o = dt_locate(env, dt, fid);
o = ERR_PTR(result);
return o;
o = ERR_PTR(result);
return o;
if (queue == PTLRPC_NRS_QUEUE_HP && !nrs_svc_has_hp(svc)) {
rc = -ENODEV;
goto out;
if (queue == PTLRPC_NRS_QUEUE_HP && !nrs_svc_has_hp(svc)) {
rc = -ENODEV;
goto out;
- }
- else if (queue == PTLRPC_NRS_QUEUE_BOTH && !nrs_svc_has_hp(svc))
+ } else if (queue == PTLRPC_NRS_QUEUE_BOTH && !nrs_svc_has_hp(svc))
queue = PTLRPC_NRS_QUEUE_REG;
/**
queue = PTLRPC_NRS_QUEUE_REG;
/**