Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d1d413a authored by Greg Donald's avatar Greg Donald Committed by Greg Kroah-Hartman
Browse files

drivers: staging: lustre: Fix "else should follow close brace '}'" errors



Fix checkpatch.pl "else should follow close brace '}'" errors

Signed-off-by: default avatarGreg Donald <gdonald@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ca4be887
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -137,8 +137,7 @@ ll_quota_on(struct super_block *sb, int off, int ver, char *name, int remount)
					   );
		path_put(&path);
		return rc;
	}
	else
	} else
		return -ENOSYS;
}

@@ -147,8 +146,7 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
	if (sb->s_qcop->quota_off) {
		return sb->s_qcop->quota_off(sb, off
					    );
	}
	else
	} else
		return -ENOSYS;
}

+1 −2
Original line number Diff line number Diff line
@@ -1509,8 +1509,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
					       cmd == LL_IOC_MDC_GETINFO)) {
				rc = 0;
				goto skip_lmm;
			}
			else
			} else
				goto out_req;
		}

+1 −2
Original line number Diff line number Diff line
@@ -438,8 +438,7 @@ int lov_getstripe(struct obd_export *exp, struct lov_stripe_md *lsm,
	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;
+1 −2
Original line number Diff line number Diff line
@@ -332,8 +332,7 @@ static struct dt_object *dt_reg_open(const struct lu_env *env,
	result = dt_lookup_dir(env, p, name, fid);
	if (result == 0){
		o = dt_locate(env, dt, fid);
	}
	else
	} else
		o = ERR_PTR(result);

	return o;
+1 −2
Original line number Diff line number Diff line
@@ -694,8 +694,7 @@ static ssize_t ptlrpc_lprocfs_nrs_seq_write(struct file *file,
	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;

	/**