summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2013-12-20 18:17:49 +0800
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-12-23 10:18:07 +0900
commit7e8f23081ab3a11de90d7389f2c6fd44676c8df9 (patch)
tree6570134b285d7e62c55c175fcb8ea9c1e1dbd912 /fs/f2fs/gc.c
parent940a6d34b31b96f0748a4b688a551a0890b2b229 (diff)
downloadblackbird-op-linux-7e8f23081ab3a11de90d7389f2c6fd44676c8df9.tar.gz
blackbird-op-linux-7e8f23081ab3a11de90d7389f2c6fd44676c8df9.zip
f2fs: remove the rw_flag domain from f2fs_io_info
When using the f2fs_io_info in the low level, we still need to merge the rw and rw_flag, so use the rw to hold all the io flags directly, and remove the rw_flag field. ps.It is based on the previous patch: f2fs: move all the bio initialization into __bio_alloc Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r--fs/f2fs/gc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 69c18e399014..599f546d042c 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -523,7 +523,6 @@ static void move_data_page(struct inode *inode, struct page *page, int gc_type)
struct f2fs_io_info fio = {
.type = DATA,
.rw = WRITE_SYNC,
- .rw_flag = 0,
};
if (gc_type == BG_GC) {
OpenPOWER on IntegriCloud