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:
Andrew Morton
2012-12-17 15:59:39 -08:00
committed by Linus Torvalds
parent c0f041602c
commit 965c8e59cf
26 changed files with 116 additions and 116 deletions

View File

@@ -16,7 +16,7 @@
#include <linux/poll.h>
static loff_t bad_file_llseek(struct file *file, loff_t offset, int origin)
static loff_t bad_file_llseek(struct file *file, loff_t offset, int whence)
{
return -EIO;
}