summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-07 04:54:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-07 04:54:18 -0700
commitae61518fec12b954a5f56c6ad2aad1370e6f9174 (patch)
tree5b416fec9b168a704393b4e217d41a56b8d8193c /include/linux
parent915a29ec1c5e34283a6231af1036114e4d612cb0 (diff)
Add "nonseekable_open()" helper functions for nonseekable
file descriptors.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index d352f8678258..e6f97b00fe34 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1435,6 +1435,7 @@ extern loff_t no_llseek(struct file *file, loff_t offset, int origin);
extern loff_t generic_file_llseek(struct file *file, loff_t offset, int origin);
extern loff_t remote_llseek(struct file *file, loff_t offset, int origin);
extern int generic_file_open(struct inode * inode, struct file * filp);
+extern int nonseekable_open(struct inode * inode, struct file * filp);
static inline void do_generic_file_read(struct file * filp, loff_t *ppos,
read_descriptor_t * desc,