diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 195a8cb2a749..001ded4845b4 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -82,6 +82,14 @@ extern int dir_notify_enable; | |||
82 | (specialy hack for floppy.c) */ | 82 | (specialy hack for floppy.c) */ |
83 | #define FMODE_WRITE_IOCTL ((__force fmode_t)128) | 83 | #define FMODE_WRITE_IOCTL ((__force fmode_t)128) |
84 | 84 | ||
85 | /* | ||
86 | * Don't update ctime and mtime. | ||
87 | * | ||
88 | * Currently a special hack for the XFS open_by_handle ioctl, but we'll | ||
89 | * hopefully graduate it to a proper O_CMTIME flag supported by open(2) soon. | ||
90 | */ | ||
91 | #define FMODE_NOCMTIME ((__force fmode_t)2048) | ||
92 | |||
85 | #define RW_MASK 1 | 93 | #define RW_MASK 1 |
86 | #define RWA_MASK 2 | 94 | #define RWA_MASK 2 |
87 | #define READ 0 | 95 | #define READ 0 |
@@ -1877,7 +1885,9 @@ extern loff_t default_llseek(struct file *file, loff_t offset, int origin); | |||
1877 | 1885 | ||
1878 | extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin); | 1886 | extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin); |
1879 | 1887 | ||
1888 | extern struct inode * inode_init_always(struct super_block *, struct inode *); | ||
1880 | extern void inode_init_once(struct inode *); | 1889 | extern void inode_init_once(struct inode *); |
1890 | extern void inode_add_to_lists(struct super_block *, struct inode *); | ||
1881 | extern void iput(struct inode *); | 1891 | extern void iput(struct inode *); |
1882 | extern struct inode * igrab(struct inode *); | 1892 | extern struct inode * igrab(struct inode *); |
1883 | extern ino_t iunique(struct super_block *, ino_t); | 1893 | extern ino_t iunique(struct super_block *, ino_t); |