f2fs: fix to update last_disk_size correctly
authorChao Yu <yuchao0@huawei.com>
Wed, 17 Jan 2018 08:31:37 +0000 (16:31 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 22 Jan 2018 22:56:52 +0000 (14:56 -0800)
commiteb4497975e82448746bb7de3d13b743b7145aed7
treef76ff2785133e6412ed1b90236ceacd4aaed2fe8
parentb323fd28bbf95c3181e02e7a642b7d24f3e32714
f2fs: fix to update last_disk_size correctly

This patch fixes to update last_disk_size only when writing out page
successfully.

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