mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
staging/lustre: Properly cast ll_fid2path argument to __user in ll_dir_ioctl
This makes sparse happier. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
61dad0ba9a
commit
7ec89fa54a
1 changed files with 1 additions and 1 deletions
|
|
@ -1736,7 +1736,7 @@ out_quotactl:
|
|||
sizeof(struct ioc_changelog));
|
||||
return rc;
|
||||
case OBD_IOC_FID2PATH:
|
||||
return ll_fid2path(inode, (void *)arg);
|
||||
return ll_fid2path(inode, (void __user *)arg);
|
||||
case LL_IOC_HSM_REQUEST: {
|
||||
struct hsm_user_request *hur;
|
||||
ssize_t totalsize;
|
||||
|
|
|
|||
Loading…
Reference in a new issue