diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:43:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 22:20:20 -0400 |
commit | 63784dd02b2ac85e867be9d6a6f5536c4ff738be (patch) | |
tree | c6f3d54db51b7a93ae8dbe9923a7cc8fa32c0f31 /fs/fcntl.c | |
parent | 2744c171dbaa0b1ec7639e7d0ff817fba9461a38 (diff) |
fcntl: fix misannotations
__user * != * __user...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fcntl.c')
-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) | |||
149 | 149 | ||
150 | static int f_setown_ex(struct file *filp, unsigned long arg) | 150 | static int f_setown_ex(struct file *filp, unsigned long arg) |
151 | { | 151 | { |
152 | struct f_owner_ex * __user owner_p = (void * __user)arg; | 152 | struct f_owner_ex __user *owner_p = (void __user *)arg; |
153 | struct f_owner_ex owner; | 153 | struct f_owner_ex owner; |
154 | struct pid *pid; | 154 | struct pid *pid; |
155 | int type; | 155 | int type; |
@@ -189,7 +189,7 @@ static int f_setown_ex(struct file *filp, unsigned long arg) | |||
189 | 189 | ||
190 | static int f_getown_ex(struct file *filp, unsigned long arg) | 190 | static int f_getown_ex(struct file *filp, unsigned long arg) |
191 | { | 191 | { |
192 | struct f_owner_ex * __user owner_p = (void * __user)arg; | 192 | struct f_owner_ex __user *owner_p = (void __user *)arg; |
193 | struct f_owner_ex owner; | 193 | struct f_owner_ex owner; |
194 | int ret = 0; | 194 | int ret = 0; |
195 | 195 | ||
@@ -227,7 +227,7 @@ static int f_getown_ex(struct file *filp, unsigned long arg) | |||
227 | static int f_getowner_uids(struct file *filp, unsigned long arg) | 227 | static int f_getowner_uids(struct file *filp, unsigned long arg) |
228 | { | 228 | { |
229 | struct user_namespace *user_ns = current_user_ns(); | 229 | struct user_namespace *user_ns = current_user_ns(); |
230 | uid_t * __user dst = (void * __user)arg; | 230 | uid_t __user *dst = (void __user *)arg; |
231 | uid_t src[2]; | 231 | uid_t src[2]; |
232 | int err; | 232 | int err; |
233 | 233 | ||