diff options
| author | Eric Biggers <[email protected]> | 2021-01-12 19:02:46 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2021-01-13 16:26:30 +0000 |
| commit | ff4136e64d129c4b617331d6c84a3e1781dda70d (patch) | |
| tree | 8fada5e412009d2cc26459f6710672b22dee78b7 /fs/fs-writeback.c | |
| parent | fs: only specify I_DIRTY_TIME when needed in generic_update_time() (diff) | |
| download | kernel-ff4136e64d129c4b617331d6c84a3e1781dda70d.tar.gz kernel-ff4136e64d129c4b617331d6c84a3e1781dda70d.zip | |
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/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions
