OSDN Git Service

ext4: fix lazytime optimization
authorTheodore Ts'o <tytso@mit.edu>
Thu, 14 May 2015 22:19:01 +0000 (18:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 15:21:01 +0000 (08:21 -0700)
commit11395c8b1918476a402ff74d8d5c6eb1cefc7e30
treeb8a5369afbc68a02b07e145e5ea178535ff5e7fa
parent250fcae7fa76332e9835612ef204b224d96b030e
ext4: fix lazytime optimization

commit 8f4d855839179f410fa910a26eb81d646d628f26 upstream.

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

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/inode.c