mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 13:57:54 -04:00
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:
committed by
Greg Kroah-Hartman
parent
6f9a3bd93f
commit
0f881d7b26
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user