aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/btnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/btnode.c')
-rw-r--r--fs/nilfs2/btnode.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/nilfs2/btnode.c b/fs/nilfs2/btnode.c
index 388e9e8f5286..f4f1c08807ed 100644
--- a/fs/nilfs2/btnode.c
+++ b/fs/nilfs2/btnode.c
@@ -40,14 +40,10 @@ void nilfs_btnode_cache_init_once(struct address_space *btnc)
40 nilfs_mapping_init_once(btnc); 40 nilfs_mapping_init_once(btnc);
41} 41}
42 42
43static const struct address_space_operations def_btnode_aops = {
44 .sync_page = block_sync_page,
45};
46
47void nilfs_btnode_cache_init(struct address_space *btnc, 43void nilfs_btnode_cache_init(struct address_space *btnc,
48 struct backing_dev_info *bdi) 44 struct backing_dev_info *bdi)
49{ 45{
50 nilfs_mapping_init(btnc, bdi, &def_btnode_aops); 46 nilfs_mapping_init(btnc, bdi);
51} 47}
52 48
53void nilfs_btnode_cache_clear(struct address_space *btnc) 49void nilfs_btnode_cache_clear(struct address_space *btnc)