From bdd1272607a95482d6b5261de7fe8bec1d57e2a8 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Tue, 2 Feb 2016 10:29:11 -0500 Subject: [PATCH] LU-7623 lmv: Properly mark lmv_fid2path uarg argment as __user This makes sparse happy too. Change-Id: Ice8067168af9a6d13900e6224d3224dbb6bf0541 Signed-off-by: Oleg Drokin Reviewed-on: http://review.whamcloud.com/17782 Reviewed-by: James Simmons Reviewed-by: Frank Zago Reviewed-by: Dmitry Eremin Reviewed-by: John L. Hammond Tested-by: Jenkins Tested-by: Maloo --- lustre/lmv/lmv_obd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index e6d6511..8afd6d7 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -683,7 +683,8 @@ out_local: 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; -- 1.8.3.1