f2fs: call mark_inode_dirty to flush dirty pages
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 21 Jan 2014 04:32:12 +0000 (13:32 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 22 Jan 2014 09:40:34 +0000 (18:40 +0900)
If a dentry page is updated, we should call mark_inode_dirty to add the inode
into the dirty list, so that its dentry pages are flushed to the disk.
Otherwise, the inode can be evicted without flush.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/namei.c

diff --cc fs/f2fs/data.c
Simple merge
diff --cc fs/f2fs/dir.c
Simple merge
diff --cc fs/f2fs/namei.c
Simple merge