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:
Oleg Drokin 2016-01-03 12:05:53 -05:00 committed by Greg Kroah-Hartman
parent 6f9a3bd93f
commit 0f881d7b26

View File

@ -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;