diff options
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/include/linux/fs.h b/include/linux/fs.h index 8b42df09b04c..dd28e7679089 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -158,6 +158,9 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,  #define FMODE_OPENED		((__force fmode_t)0x80000)  #define FMODE_CREATED		((__force fmode_t)0x100000) +/* File is stream-like */ +#define FMODE_STREAM		((__force fmode_t)0x200000) +  /* File was opened by fanotify and shouldn't generate fanotify events */  #define FMODE_NONOTIFY		((__force fmode_t)0x4000000) @@ -3074,6 +3077,7 @@ extern loff_t no_seek_end_llseek_size(struct file *, loff_t, int, loff_t);  extern loff_t no_seek_end_llseek(struct file *, loff_t, int);  extern int generic_file_open(struct inode * inode, struct file * filp);  extern int nonseekable_open(struct inode * inode, struct file * filp); +extern int stream_open(struct inode * inode, struct file * filp);  #ifdef CONFIG_BLOCK  typedef void (dio_submit_t)(struct bio *bio, struct inode *inode, |