summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-12-18 13:34:02 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-12-18 13:34:02 +1100
commit493e3e9b2d4de0f9811e384fe58fa3d8e9f7ae6c (patch)
treeca2a12dab4b99146793aa6f6ff32cdea70debbd1 /include
parent0e294d336979e5dc56d2c4116bdbacca92fdf9f6 (diff)
parent4d9d4ebf5de848e3450e23e4db9ac74e23e5daa6 (diff)
Merge commit 'xfs/master'
Conflicts: fs/xfs/xfs_rename.c
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;
(specialy hack for floppy.c) */
#define FMODE_WRITE_IOCTL ((__force fmode_t)128)
+/*
+ * Don't update ctime and mtime.
+ *
+ * Currently a special hack for the XFS open_by_handle ioctl, but we'll
+ * hopefully graduate it to a proper O_CMTIME flag supported by open(2) soon.
+ */
+#define FMODE_NOCMTIME ((__force fmode_t)2048)
+
#define RW_MASK 1
#define RWA_MASK 2
#define READ 0
@@ -1875,7 +1883,9 @@ extern loff_t default_llseek(struct file *file, loff_t offset, int origin);
extern loff_t vfs_llseek(struct file *file, loff_t offset, int origin);
+extern struct inode * inode_init_always(struct super_block *, struct inode *);
extern void inode_init_once(struct inode *);
+extern void inode_add_to_lists(struct super_block *, struct inode *);
extern void iput(struct inode *);
extern struct inode * igrab(struct inode *);
extern ino_t iunique(struct super_block *, ino_t);