f2fs: fix to remove directory inode from dirty list
authorChao Yu <chao2.yu@samsung.com>
Tue, 10 Nov 2015 10:45:07 +0000 (18:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 4 Dec 2015 19:52:34 +0000 (11:52 -0800)
commiteb7e813cc791735f2428202d5249a8fd769df1f3
treec2f4d77faf2fac5c99ea1f34108e75655610a966
parent04ef4b626c324a7529c80ffc45787b274a6fa68a
f2fs: fix to remove directory inode from dirty list

If last dirty dentry page was writebacked in reclaim path, we should
remove its directory inode from global dirty list to avoid unnecessary
flush for this inode when doing checkpoint.

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