From: Theodore Ts'o Date: Thu, 2 Jul 2015 03:37:46 +0000 (-0400) Subject: ext4: fix fencepost error in lazytime optimization X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~37^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f0ff9a9f3fa2ec6f427603fd521d5f3a0b076d1;p=pandora-kernel.git ext4: fix fencepost error in lazytime optimization Commit 8f4d8558391: "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 Cc: stable@vger.kernel.org --- Reading git-diff-tree failed