diff options
author | Christoph Hellwig <hch@lst.de> | 2018-02-21 10:54:49 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-03-28 01:39:02 -0400 |
commit | 0e11f6443f522f89509495b13ef1f3745640144d (patch) | |
tree | 0e6cd7a3c73f398663bb51e9f30692d381989788 /include/linux/fs.h | |
parent | f35562549ff9ecb9114f380843b3ac778c2a781e (diff) |
fs: move I_DIRTY_INODE to fs.h
And use it in a few more places rather than opencoding the values.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d7b2caadb292..00da24bc0350 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2014,7 +2014,8 @@ static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) | |||
2014 | #define I_WB_SWITCH (1 << 13) | 2014 | #define I_WB_SWITCH (1 << 13) |
2015 | #define I_OVL_INUSE (1 << 14) | 2015 | #define I_OVL_INUSE (1 << 14) |
2016 | 2016 | ||
2017 | #define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES) | 2017 | #define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC) |
2018 | #define I_DIRTY (I_DIRTY_INODE | I_DIRTY_PAGES) | ||
2018 | #define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME) | 2019 | #define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME) |
2019 | 2020 | ||
2020 | extern void __mark_inode_dirty(struct inode *, int); | 2021 | extern void __mark_inode_dirty(struct inode *, int); |