Commit 0f881d7b authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre: Properly mark lmv_fid2path uarg argment as __user



This makes sparse happy too.

Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6f9a3bd9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -663,7 +663,8 @@ static int lmv_disconnect(struct obd_export *exp)
	return rc;
}

static int lmv_fid2path(struct obd_export *exp, int len, void *karg, void *uarg)
static int lmv_fid2path(struct obd_export *exp, int len, void *karg,
			void __user *uarg)
{
	struct obd_device	*obddev = class_exp2obd(exp);
	struct lmv_obd		*lmv = &obddev->u.lmv;