1
0
Fork 0
alistair23-linux/fs/f2fs
Jaegeuk Kim 30a5537f9a f2fs: trigger correct checkpoint during umount
This patch fixes to trigger checkpoint with umount flag when kill_sb was called.
In kill_sb, f2fs_sync_fs was finally called, but at this time, f2fs can't do
checkpoint with CP_UMOUNT.
After then, f2fs_put_super is not doing checkpoint, since it is not dirty.

So, this patch adds a flag to indicate f2fs_sync_fs is called during umount.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2015-02-11 17:04:32 -08:00
..
Kconfig f2fs: add f2fs_io_tracer support 2015-01-09 17:02:24 -08:00
Makefile f2fs: add f2fs_io_tracer support 2015-01-09 17:02:24 -08:00
acl.c f2fs: avoid double lock for cp_rwsem 2015-01-09 17:02:25 -08:00
acl.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
checkpoint.c f2fs: reuse inode_entry_slab in gc procedure for using slab more effectively 2015-01-09 17:02:26 -08:00
data.c f2fs: fix wrong unlock_page call 2015-01-09 17:02:27 -08:00
debug.c f2fs: update memory footprint information 2015-02-11 17:04:31 -08:00
dir.c f2fs: use missing the use of f2fs_kunmap_page 2015-01-09 17:02:22 -08:00
f2fs.h f2fs: trigger correct checkpoint during umount 2015-02-11 17:04:32 -08:00
file.c f2fs: avoid infinite loop on cp_error 2015-02-11 17:04:30 -08:00
gc.c f2fs: reuse inode_entry_slab in gc procedure for using slab more effectively 2015-01-09 17:02:26 -08:00
gc.h f2fs: reuse inode_entry_slab in gc procedure for using slab more effectively 2015-01-09 17:02:26 -08:00
hash.c f2fs: fix wrong casting for dentry name 2014-08-29 00:26:50 -07:00
inline.c f2fs: clean up to remove parameter 2015-01-09 17:02:26 -08:00
inode.c f2fs: get rid of kzalloc in __recover_inline_status 2015-01-09 17:02:27 -08:00
namei.c f2fs: introduce f2fs_dentry_kunmap to clean up 2014-11-23 21:51:53 -08:00
node.c f2fs: free radix_tree_nodes used by nat_set entries 2015-01-09 17:02:28 -08:00
node.h f2fs: free radix_tree_nodes used by nat_set entries 2015-01-09 17:02:28 -08:00
recovery.c f2fs: clean up to remove parameter 2015-01-09 17:02:26 -08:00
segment.c f2fs: align direct_io'ed data to section 2015-01-09 17:02:27 -08:00
segment.h f2fs: do not skip any writes under memory pressure 2014-11-10 06:51:38 -08:00
super.c f2fs: trigger correct checkpoint during umount 2015-02-11 17:04:32 -08:00
trace.c f2fs: pids_lock can be static 2015-01-09 17:02:29 -08:00
trace.h f2fs: add f2fs_destroy_trace_ios to free radix tree 2015-01-09 17:02:28 -08:00
xattr.c f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00
xattr.h f2fs: avoid deadlock on init_inode_metadata 2014-11-03 16:07:33 -08:00