f2fs: trigger release_dirty_inode in f2fs_put_super
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Aug 2014 16:48:22 +0000 (09:48 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Aug 2014 16:20:29 +0000 (09:20 -0700)
commit6f12ac25f0167adb5d9ad5547fd6838380261e5c
treeec8f77b55575043f65b145372559f673b599e478
parent97c3c5cac2bba0ecc4b0de83d33a23aa427ef628
f2fs: trigger release_dirty_inode in f2fs_put_super

The generic_shutdown_super calls sync_filesystem, evict_inode, and then
f2fs_put_super. In f2fs_evict_inode, we remain some dirty inode information
so we should release them at f2fs_put_super.

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