diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-27 03:43:05 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-27 04:20:20 +0200 |
commit | 63784dd02b2ac85e867be9d6a6f5536c4ff738be (patch) | |
tree | c6f3d54db51b7a93ae8dbe9923a7cc8fa32c0f31 /fs | |
parent | ceph: don't abuse d_delete() on failure exits (diff) | |
download | linux-63784dd02b2ac85e867be9d6a6f5536c4ff738be.tar.xz linux-63784dd02b2ac85e867be9d6a6f5536c4ff738be.zip |
fcntl: fix misannotations
__user * != * __user...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fcntl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index 91af39a33af7..8f704291d4ed 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -149,7 +149,7 @@ pid_t f_getown(struct file *filp) static int f_setown_ex(struct file *filp, unsigned long arg) { - struct f_owner_ex * __user owner_p = (void * __user)arg; + struct f_owner_ex __user *owner_p = (void __user *)arg; struct f_owner_ex owner; struct pid *pid; int type; @@ -189,7 +189,7 @@ static int f_setown_ex(struct file *filp, unsigned long arg) static int f_getown_ex(struct file *filp, unsigned long arg) { - struct f_owner_ex * __user owner_p = (void * __user)arg; + struct f_owner_ex __user *owner_p = (void __user *)arg; struct f_owner_ex owner; int ret = 0; @@ -227,7 +227,7 @@ static int f_getown_ex(struct file *filp, unsigned long arg) static int f_getowner_uids(struct file *filp, unsigned long arg) { struct user_namespace *user_ns = current_user_ns(); - uid_t * __user dst = (void * __user)arg; + uid_t __user *dst = (void __user *)arg; uid_t src[2]; int err; |