aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 4a853ef6fd35..1ba7630e329c 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
@@ -1875,7 +1883,9 @@ extern loff_t default_llseek(struct file *file, loff_t offset, int origin);
1875 1883
1876extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin); 1884extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin);
1877 1885
1886extern struct inode * inode_init_always(struct super_block *, struct inode *);
1878extern void inode_init_once(struct inode *); 1887extern void inode_init_once(struct inode *);
1888extern void inode_add_to_lists(struct super_block *, struct inode *);
1879extern void iput(struct inode *); 1889extern void iput(struct inode *);
1880extern struct inode * igrab(struct inode *); 1890extern struct inode * igrab(struct inode *);
1881extern ino_t iunique(struct super_block *, ino_t); 1891extern ino_t iunique(struct super_block *, ino_t);