aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/page.c
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-03-10 02:52:07 -0500
committerJens Axboe <jaxboe@fusionio.com>2011-03-10 02:52:07 -0500
commit7eaceaccab5f40bbfda044629a6298616aeaed50 (patch)
tree33954d12f63e25a47eb6d86ef3d3d0a5e62bf752 /fs/nilfs2/page.c
parent73c101011926c5832e6e141682180c4debe2cf45 (diff)
block: remove per-queue plugging
Code has been converted over to the new explicit on-stack plugging, and delay users have been converted to use the new API for that. So lets kill off the old plugging along with aops->sync_page(). Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/nilfs2/page.c')
-rw-r--r--fs/nilfs2/page.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c
index 0c432416cfef..3da37cc5de34 100644
--- a/fs/nilfs2/page.c
+++ b/fs/nilfs2/page.c
@@ -506,15 +506,14 @@ void nilfs_mapping_init_once(struct address_space *mapping)
506} 506}
507 507
508void nilfs_mapping_init(struct address_space *mapping, 508void nilfs_mapping_init(struct address_space *mapping,
509 struct backing_dev_info *bdi, 509 struct backing_dev_info *bdi)
510 const struct address_space_operations *aops)
511{ 510{
512 mapping->host = NULL; 511 mapping->host = NULL;
513 mapping->flags = 0; 512 mapping->flags = 0;
514 mapping_set_gfp_mask(mapping, GFP_NOFS); 513 mapping_set_gfp_mask(mapping, GFP_NOFS);
515 mapping->assoc_mapping = NULL; 514 mapping->assoc_mapping = NULL;
516 mapping->backing_dev_info = bdi; 515 mapping->backing_dev_info = bdi;
517 mapping->a_ops = aops; 516 mapping->a_ops = NULL;
518} 517}
519 518
520/* 519/*