diff options
Diffstat (limited to 'fs/compat.c')
-rw-r--r-- | fs/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/compat.c b/fs/compat.c index 1c859dae758f..3f84d5f15889 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -1236,7 +1236,7 @@ compat_sys_readv(unsigned long fd, const struct compat_iovec __user *vec, | |||
1236 | 1236 | ||
1237 | asmlinkage ssize_t | 1237 | asmlinkage ssize_t |
1238 | compat_sys_preadv(unsigned long fd, const struct compat_iovec __user *vec, | 1238 | compat_sys_preadv(unsigned long fd, const struct compat_iovec __user *vec, |
1239 | unsigned long vlen, u32 pos_high, u32 pos_low) | 1239 | unsigned long vlen, u32 pos_low, u32 pos_high) |
1240 | { | 1240 | { |
1241 | loff_t pos = ((loff_t)pos_high << 32) | pos_low; | 1241 | loff_t pos = ((loff_t)pos_high << 32) | pos_low; |
1242 | struct file *file; | 1242 | struct file *file; |
@@ -1293,7 +1293,7 @@ compat_sys_writev(unsigned long fd, const struct compat_iovec __user *vec, | |||
1293 | 1293 | ||
1294 | asmlinkage ssize_t | 1294 | asmlinkage ssize_t |
1295 | compat_sys_pwritev(unsigned long fd, const struct compat_iovec __user *vec, | 1295 | compat_sys_pwritev(unsigned long fd, const struct compat_iovec __user *vec, |
1296 | unsigned long vlen, u32 pos_high, u32 pos_low) | 1296 | unsigned long vlen, u32 pos_low, u32 pos_high) |
1297 | { | 1297 | { |
1298 | loff_t pos = ((loff_t)pos_high << 32) | pos_low; | 1298 | loff_t pos = ((loff_t)pos_high << 32) | pos_low; |
1299 | struct file *file; | 1299 | struct file *file; |