Whamcloud - gitweb
LU-7623 lmv: Properly mark lmv_fid2path uarg argment as __user
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index e6d6511..8afd6d7 100644 (file)
@@ -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;