f2fs: fix to update iostat correctly in IPU path
authorChao Yu <yuchao0@huawei.com>
Thu, 21 Feb 2019 12:40:13 +0000 (20:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Mar 2019 01:59:18 +0000 (18:59 -0700)
commite46f6bd82c831d20f9b6c149076cf5d2c443d638
treef2a1822b84da0717d0822cc281b3859c3183cb26
parent6492a335fd8084fa894beb0c4182de439a12e8d5
f2fs: fix to update iostat correctly in IPU path

In error path of IPU, we didn't account iostat correctly, fix it.

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