diff options
author | Changman Lee <cm224.lee@samsung.com> | 2013-11-06 22:48:25 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-11-08 00:10:29 -0500 |
commit | fb51b5ef9c07844f80402702bd3d3002ceca5cd9 (patch) | |
tree | 203243206fd73a201d6e316079e26384baf9754b /fs/f2fs/super.c | |
parent | 3b03f72445ba1437cfa29f9719bb3cfdb60558d9 (diff) |
f2fs: cleanup waiting routine for writeback pages in cp
use genernal method supported by kernel
o changes from v1
If any waiter exists at end io, wake up it.
Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index e42351cbe166..00e79df5a34f 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c | |||
@@ -876,6 +876,7 @@ static int f2fs_fill_super(struct super_block *sb, void *data, int silent) | |||
876 | spin_lock_init(&sbi->stat_lock); | 876 | spin_lock_init(&sbi->stat_lock); |
877 | init_rwsem(&sbi->bio_sem); | 877 | init_rwsem(&sbi->bio_sem); |
878 | init_rwsem(&sbi->cp_rwsem); | 878 | init_rwsem(&sbi->cp_rwsem); |
879 | init_waitqueue_head(&sbi->cp_wait); | ||
879 | init_sb_info(sbi); | 880 | init_sb_info(sbi); |
880 | 881 | ||
881 | /* get an inode for meta space */ | 882 | /* get an inode for meta space */ |