aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/backing-dev.h1
-rw-r--r--include/linux/fs.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index 5da6012b7a14..4cdf7336f64a 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -55,6 +55,7 @@ struct bdi_writeback {
55 struct list_head b_dirty; /* dirty inodes */ 55 struct list_head b_dirty; /* dirty inodes */
56 struct list_head b_io; /* parked for writeback */ 56 struct list_head b_io; /* parked for writeback */
57 struct list_head b_more_io; /* parked for more writeback */ 57 struct list_head b_more_io; /* parked for more writeback */
58 struct list_head b_dirty_time; /* time stamps are dirty */
58 spinlock_t list_lock; /* protects the b_* lists */ 59 spinlock_t list_lock; /* protects the b_* lists */
59}; 60};
60 61
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 42efe13077b6..cd027ce2c705 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1746,8 +1746,12 @@ struct super_operations {
1746#define __I_DIO_WAKEUP 9 1746#define __I_DIO_WAKEUP 9
1747#define I_DIO_WAKEUP (1 << I_DIO_WAKEUP) 1747#define I_DIO_WAKEUP (1 << I_DIO_WAKEUP)
1748#define I_LINKABLE (1 << 10) 1748#define I_LINKABLE (1 << 10)
1749#define I_DIRTY_TIME (1 << 11)
1750#define __I_DIRTY_TIME_EXPIRED 12
1751#define I_DIRTY_TIME_EXPIRED (1 << __I_DIRTY_TIME_EXPIRED)
1749 1752
1750#define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES) 1753#define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES)
1754#define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME)
1751 1755
1752extern void __mark_inode_dirty(struct inode *, int); 1756extern void __mark_inode_dirty(struct inode *, int);
1753static inline void mark_inode_dirty(struct inode *inode) 1757static inline void mark_inode_dirty(struct inode *inode)
@@ -1910,6 +1914,7 @@ extern int current_umask(void);
1910 1914
1911extern void ihold(struct inode * inode); 1915extern void ihold(struct inode * inode);
1912extern void iput(struct inode *); 1916extern void iput(struct inode *);
1917extern int generic_update_time(struct inode *, struct timespec *, int);
1913 1918
1914static inline struct inode *file_inode(const struct file *f) 1919static inline struct inode *file_inode(const struct file *f)
1915{ 1920{