Backport a lazytime fix from upstream to 4.14-stable. To make it cherry-pick cleanly, I first cherry-picked two other commits. Commit #2 had a conflict due to it making a change to fs/xfs/ which isn't applicable to 4.14. I dropped that part of the change.
Christoph Hellwig (1): fs: move I_DIRTY_INODE to fs.h
Eric Biggers (1): fs: fix lazytime expiration handling in __writeback_single_inode()
Jan Kara (1): writeback: Drop I_DIRTY_TIME_EXPIRE
fs/ext4/inode.c | 6 ++--- fs/fs-writeback.c | 43 +++++++++++++------------------- fs/gfs2/super.c | 2 +- include/linux/fs.h | 4 +-- include/trace/events/writeback.h | 1 - 5 files changed, 24 insertions(+), 32 deletions(-)