aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 60829565e552..5d1f6fa8daed 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2556,6 +2556,9 @@ static inline ssize_t blockdev_direct_IO(int rw, struct kiocb *iocb,
2556void inode_dio_wait(struct inode *inode); 2556void inode_dio_wait(struct inode *inode);
2557void inode_dio_done(struct inode *inode); 2557void inode_dio_done(struct inode *inode);
2558 2558
2559extern void inode_set_flags(struct inode *inode, unsigned int flags,
2560 unsigned int mask);
2561
2559extern const struct file_operations generic_ro_fops; 2562extern const struct file_operations generic_ro_fops;
2560 2563
2561#define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m)) 2564#define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))