fs: move I_DIRTY_INODE to fs.h
authorChristoph Hellwig <hch@lst.de>
Mon, 25 Jan 2021 20:37:42 +0000 (12:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Jan 2021 12:31:16 +0000 (13:31 +0100)
commit2f15ad510ebb4ab577cc24183c0e8aee5fb9ea29
treee799badcce0ce4038dad430ce5af183787760d70
parentf24facaf185f729be2f07d124066709d0e9236c4
fs: move I_DIRTY_INODE to fs.h

commit 0e11f6443f522f89509495b13ef1f3745640144d upstream.

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>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/inode.c
fs/fs-writeback.c
fs/gfs2/super.c
include/linux/fs.h