f2fs: fix wrong i_atime recovery
authorChao Yu <yuchao0@huawei.com>
Thu, 3 Nov 2016 16:26:55 +0000 (00:26 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:26 +0000 (12:11 -0800)
commit9f0552e078b8a25fcf9c3950a05ea1398616d2b9
treeaf02b73364c94807dea053c00e2e764af4c43fbe
parent60dcedc9972d136fab1600c919dd32080bcc26f7
f2fs: fix wrong i_atime recovery

Shouldn't update in-memory i_atime with on-disk i_mtime of inode when
recovering inode.

Shuoran found this bug which is hidden for a long time, honour is belong
to him.

Signed-off-by: Shuoran Liu <liushuoran@huawei.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c