staging/lustre: Properly mark lmv_fid2path uarg argment as __user
This makes sparse happy too. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6f9a3bd93f
commit
0f881d7b26
@ -663,7 +663,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;
|
||||
|
Loading…
Reference in New Issue
Block a user