summaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-12-08 20:08:28 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-08 20:08:28 +0100
commit5bf9a06a5f7ca525621f4117257a49dc5a2786da (patch)
tree654fec78ab7b0abcbd583db4a062f85cc7ce6b3d /fs/fcntl.c
parentMerge tag 'ntb-5.5' of git://github.com/jonmason/ntb (diff)
parentmake __d_alloc() static (diff)
downloadlinux-5bf9a06a5f7ca525621f4117257a49dc5a2786da.tar.xz
linux-5bf9a06a5f7ca525621f4117257a49dc5a2786da.zip
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc vfs cleanups from Al Viro: "No common topic, just three cleanups". * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: make __d_alloc() static fs/namespace: add __user to open_tree and move_mount syscalls fs/fnctl: fix missing __user in fcntl_rw_hint()
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r--fs/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c
index 41b6438bd2d9..9bc167562ee8 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -277,7 +277,7 @@ static long fcntl_rw_hint(struct file *file, unsigned int cmd,
unsigned long arg)
{
struct inode *inode = file_inode(file);
- u64 *argp = (u64 __user *)arg;
+ u64 __user *argp = (u64 __user *)arg;
enum rw_hint hint;
u64 h;