]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0a8999310df001a109b4d4a23ed9b721313da37
tree0d84fa658868273755594ed8b84a81ead9cae776
parent185780dcb901b843ddcfec8bd149e75ff6f3cfb7
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