lseek: the "whence" argument is called "whence"
But the kernel decided to call it "origin" instead. Fix most of the sites. Acked-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c0f041602c
commit
965c8e59cf
@@ -560,10 +560,10 @@ asmlinkage long sys_utime(char __user *filename,
|
||||
asmlinkage long sys_utimes(char __user *filename,
|
||||
struct timeval __user *utimes);
|
||||
asmlinkage long sys_lseek(unsigned int fd, off_t offset,
|
||||
unsigned int origin);
|
||||
unsigned int whence);
|
||||
asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high,
|
||||
unsigned long offset_low, loff_t __user *result,
|
||||
unsigned int origin);
|
||||
unsigned int whence);
|
||||
asmlinkage long sys_read(unsigned int fd, char __user *buf, size_t count);
|
||||
asmlinkage long sys_readahead(int fd, loff_t offset, size_t count);
|
||||
asmlinkage long sys_readv(unsigned long fd,
|
||||
|
||||
Reference in New Issue
Block a user