diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-16 16:27:42 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 08:57:26 (GMT) |
commit | 1bf9d14dff4a2c4de6152c6f751bdaf6896b68bb (patch) | |
tree | 9f4f52547bc8cbdc934126344edeb96d441c0383 /include | |
parent | 0747fdb2bd59d9404ae2345cbddd7d837c5c4648 (diff) | |
download | linux-fsl-qoriq-1bf9d14dff4a2c4de6152c6f751bdaf6896b68bb.tar.xz |
new helper: fixed_size_llseek()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1db01c1..803b7fa 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2428,6 +2428,8 @@ extern loff_t no_llseek(struct file *file, loff_t offset, int whence); extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence); extern loff_t generic_file_llseek_size(struct file *file, loff_t offset, int whence, loff_t maxsize, loff_t eof); +extern loff_t fixed_size_llseek(struct file *file, loff_t offset, + int whence, loff_t size); extern int generic_file_open(struct inode * inode, struct file * filp); extern int nonseekable_open(struct inode * inode, struct file * filp); |