Commit f8b8820
fs: clear I_DIRTY_TIME in sync_lazytime
For file systems implementing ->sync_lazytime, I_DIRTY_TIME fails to get
cleared in sync_lazytime, and might cause additional calls to
sync_lazytime during inode deactivation. Use the same pattern as in
__mark_inode_dirty to clear the flag under the inode lock.
Fixes: 5cf06ea ("fs: add a ->sync_lazytime method")
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Christian Brauner <[email protected]>1 parent e9075e4 commit f8b8820
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
1714 | 1727 | | |
1715 | 1728 | | |
1716 | 1729 | | |
1717 | 1730 | | |
1718 | 1731 | | |
1719 | 1732 | | |
1720 | 1733 | | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
| 1734 | + | |
| 1735 | + | |
1724 | 1736 | | |
1725 | 1737 | | |
1726 | 1738 | | |
| |||
0 commit comments