diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2012-12-17 18:59:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:12 -0500 |
commit | 965c8e59cfcf845ecde2265a1d1bfee5f011d302 (patch) | |
tree | 22758a99b4ecb475750966d5202200dc0e89876c /fs/pstore | |
parent | c0f041602c33bae10b8e321c49024490d03ced3d (diff) |
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>
Diffstat (limited to 'fs/pstore')
-rw-r--r-- | fs/pstore/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index ed1d8c7212da..67de74ca85f4 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c | |||
@@ -151,13 +151,13 @@ static int pstore_file_open(struct inode *inode, struct file *file) | |||
151 | return 0; | 151 | return 0; |
152 | } | 152 | } |
153 | 153 | ||
154 | static loff_t pstore_file_llseek(struct file *file, loff_t off, int origin) | 154 | static loff_t pstore_file_llseek(struct file *file, loff_t off, int whence) |
155 | { | 155 | { |
156 | struct seq_file *sf = file->private_data; | 156 | struct seq_file *sf = file->private_data; |
157 | 157 | ||
158 | if (sf->op) | 158 | if (sf->op) |
159 | return seq_lseek(file, off, origin); | 159 | return seq_lseek(file, off, whence); |
160 | return default_llseek(file, off, origin); | 160 | return default_llseek(file, off, whence); |
161 | } | 161 | } |
162 | 162 | ||
163 | static const struct file_operations pstore_file_operations = { | 163 | static const struct file_operations pstore_file_operations = { |