From 00780aa030b06f4e2a55b8f59f8ca9e4daf6bf0f Mon Sep 17 00:00:00 2001 From: Ryusuke Konishi Date: Wed, 27 May 2009 22:44:34 +0900 Subject: [PATCH] --- yaml --- r: 149575 b: refs/heads/master c: fa032744ad41de1b0a1807e7c379c6196e72ad80 h: refs/heads/master i: 149573: a4d1ed2cc84d3f0322a465af78b84acb66f1dab9 149571: f08f0bf0bfd7adafddba4c4356565deb96411378 149567: 63098680bba74bb014081389121d656d406474e6 v: v3 --- [refs] | 2 +- trunk/fs/nilfs2/btnode.c | 4 +++- trunk/fs/nilfs2/gcinode.c | 5 +++-- trunk/fs/nilfs2/mdt.c | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 034e869f692b..10206bcfef95 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a53b4751ae92adb372017222887f3ec625cba60b +refs/heads/master: fa032744ad41de1b0a1807e7c379c6196e72ad80 diff --git a/trunk/fs/nilfs2/btnode.c b/trunk/fs/nilfs2/btnode.c index 0e01957ce566..7e0b61be212e 100644 --- a/trunk/fs/nilfs2/btnode.c +++ b/trunk/fs/nilfs2/btnode.c @@ -46,7 +46,9 @@ void nilfs_btnode_cache_init_once(struct address_space *btnc) INIT_LIST_HEAD(&btnc->i_mmap_nonlinear); } -static struct address_space_operations def_btnode_aops; +static struct address_space_operations def_btnode_aops = { + .sync_page = block_sync_page, +}; void nilfs_btnode_cache_init(struct address_space *btnc, struct backing_dev_info *bdi) diff --git a/trunk/fs/nilfs2/gcinode.c b/trunk/fs/nilfs2/gcinode.c index 19d2102b6a69..1b3c2bb20da9 100644 --- a/trunk/fs/nilfs2/gcinode.c +++ b/trunk/fs/nilfs2/gcinode.c @@ -52,8 +52,9 @@ #include "dat.h" #include "ifile.h" -static struct address_space_operations def_gcinode_aops = {}; -/* XXX need def_gcinode_iops/fops? */ +static struct address_space_operations def_gcinode_aops = { + .sync_page = block_sync_page, +}; /* * nilfs_gccache_submit_read_data() - add data buffer and submit read request diff --git a/trunk/fs/nilfs2/mdt.c b/trunk/fs/nilfs2/mdt.c index 7b7032ea60d3..3d3ddb3f5177 100644 --- a/trunk/fs/nilfs2/mdt.c +++ b/trunk/fs/nilfs2/mdt.c @@ -430,6 +430,7 @@ nilfs_mdt_write_page(struct page *page, struct writeback_control *wbc) static struct address_space_operations def_mdt_aops = { .writepage = nilfs_mdt_write_page, + .sync_page = block_sync_page, }; static struct inode_operations def_mdt_iops;