summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChangman Lee <cm224.lee@samsung.com>2013-11-07 12:48:25 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-11-08 14:10:29 +0900
commitfb51b5ef9c07844f80402702bd3d3002ceca5cd9 (patch)
tree203243206fd73a201d6e316079e26384baf9754b /fs/f2fs/f2fs.h
parent3b03f72445ba1437cfa29f9719bb3cfdb60558d9 (diff)
downloadop-kernel-dev-fb51b5ef9c07844f80402702bd3d3002ceca5cd9.zip
op-kernel-dev-fb51b5ef9c07844f80402702bd3d3002ceca5cd9.tar.gz
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/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 625eb4b..89dc750 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -372,7 +372,7 @@ struct f2fs_sb_info {
struct mutex writepages; /* mutex for writepages() */
bool por_doing; /* recovery is doing or not */
bool on_build_free_nids; /* build_free_nids is doing */
- struct task_struct *cp_task; /* checkpoint task */
+ wait_queue_head_t cp_wait;
/* for orphan inode management */
struct list_head orphan_inode_list; /* orphan inode list */
OpenPOWER on IntegriCloud