f2fs: fix to record dirty page count for symlink
authorChao Yu <chao2.yu@samsung.com>
Mon, 29 Jun 2015 10:14:10 +0000 (18:14 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:52 +0000 (14:09 -0700)
commit5ac9f36fcacd532b218db1e0fd0f9e8a18321f22
tree0d84fa658868273755594ed8b84a81ead9cae776
parent92859a5efdfa71f712ec1d213f43061965d3e9b4
f2fs: fix to record dirty page count for symlink

Dirty page can be exist in mapping of newly created symlink, but previously
we did not maintain the counting of dirty page for symlink like we maintained
for regular/directory, so the counting we lookuped should be wrong.

This patch adds missed dirty page counting for symlink to fix this issue.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h