ext4: fix lazytime optimization
authorTheodore Ts'o <tytso@mit.edu>
Thu, 14 May 2015 22:19:01 +0000 (18:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 14 May 2015 22:19:01 +0000 (18:19 -0400)
commit8f4d855839179f410fa910a26eb81d646d628f26
treea3fd4e5b048b585cc5ecfa8713d1bce006d8b65a
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
ext4: fix lazytime optimization

We had a fencepost error in the lazytime optimization which means that
timestamp would get written to the wrong inode.

Cc: stable@vger.kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c