mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 15:53:59 -04:00
s390/compat: add sync_file_range and fallocate compat syscalls
The compat syscall wrappers for sync_file_range and fallocate merged 32 bit parameters into 64 bit parameters. Therefore they did more than just the usual zero and/or sign extension of system call parameters. So convert these two wrappers to full s390 specific compat sytem calls. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@@ -110,4 +110,7 @@ long compat_sys_s390_read(unsigned int fd, char __user * buf, compat_size_t coun
|
||||
long compat_sys_s390_write(unsigned int fd, const char __user * buf, compat_size_t count);
|
||||
long compat_sys_s390_fadvise64(int fd, u32 high, u32 low, compat_size_t len, int advise);
|
||||
long compat_sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
|
||||
long compat_sys_s390_sync_file_range(int fd, u32 offhigh, u32 offlow, u32 nhigh, u32 nlow, unsigned int flags);
|
||||
long compat_sys_s390_fallocate(int fd, int mode, u32 offhigh, u32 offlow, u32 lenhigh, u32 lenlow);
|
||||
|
||||
#endif /* _ASM_S390X_S390_H */
|
||||
|
||||
Reference in New Issue
Block a user