Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: fix fencepost error in lazytime optimization
Commit 8f4d855: "ext4: fix lazytime optimization" was not a complete fix. In the case where the inode number is a multiple of 16, and we could still end up updating an inode with dirty timestamps written to the wrong inode on disk. Oops. This can be easily reproduced by using generic/005 with a file system with metadata_csum and lazytime enabled. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
- Loading branch information