diff options
author | Eric Biggers <ebiggers@google.com> | 2021-01-12 22:02:46 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-01-13 19:26:30 +0300 |
commit | ff4136e64d129c4b617331d6c84a3e1781dda70d (patch) | |
tree | 8fada5e412009d2cc26459f6710672b22dee78b7 /fs/fs-writeback.c | |
parent | e20b14db050ae25ef7c5a2d9a41dd62b7e5e75c1 (diff) | |
download | linux-ff4136e64d129c4b617331d6c84a3e1781dda70d.tar.xz |
fat: only specify I_DIRTY_TIME when needed in fat_update_time()
As was done for generic_update_time(), only pass I_DIRTY_TIME to
__mark_inode_dirty() when the inode's timestamps were actually updated
and lazytime is enabled. This avoids a weird edge case where
I_DIRTY_TIME could be set in i_state when lazytime isn't enabled.
Link: https://lore.kernel.org/r/20210112190253.64307-5-ebiggers@kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions