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

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment