f2fs: fix to update F2FS_{CP_}WB_DATA count correctly
authorChao Yu <yuchao0@huawei.com>
Mon, 27 Feb 2017 09:10:45 +0000 (17:10 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 18:40:08 +0000 (10:40 -0800)
commit540faedb0036aca14ff90a7f679b008442bc9dd7
treebf78d9f7652d2f9fc3522ca21d813c62b281e90a
parentf0cdbfe6ef0b2f3d42e1cf87bf962e730c2420cb
f2fs: fix to update F2FS_{CP_}WB_DATA count correctly

We should only account F2FS_{CP_}WB_DATA IOs for write path, fix it.

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