diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 2c2883f2856d..487da5a213c0 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -700,7 +700,7 @@ out: | |||
700 | static int btrfs_prepare_write(struct file *file, struct page *page, | 700 | static int btrfs_prepare_write(struct file *file, struct page *page, |
701 | unsigned from, unsigned to) | 701 | unsigned from, unsigned to) |
702 | { | 702 | { |
703 | return block_prepare_write(page, from, to, btrfs_get_block); | 703 | return nobh_prepare_write(page, from, to, btrfs_get_block); |
704 | } | 704 | } |
705 | 705 | ||
706 | static void btrfs_write_super(struct super_block *sb) | 706 | static void btrfs_write_super(struct super_block *sb) |
@@ -721,7 +721,7 @@ static int btrfs_readpages(struct file *file, struct address_space *mapping, | |||
721 | 721 | ||
722 | static int btrfs_writepage(struct page *page, struct writeback_control *wbc) | 722 | static int btrfs_writepage(struct page *page, struct writeback_control *wbc) |
723 | { | 723 | { |
724 | return block_write_full_page(page, btrfs_get_block, wbc); | 724 | return nobh_writepage(page, btrfs_get_block, wbc); |
725 | } | 725 | } |
726 | 726 | ||
727 | static int btrfs_get_sb(struct file_system_type *fs_type, | 727 | static int btrfs_get_sb(struct file_system_type *fs_type, |
@@ -768,7 +768,7 @@ static struct address_space_operations btrfs_aops = { | |||
768 | .writepage = btrfs_writepage, | 768 | .writepage = btrfs_writepage, |
769 | .sync_page = block_sync_page, | 769 | .sync_page = block_sync_page, |
770 | .prepare_write = btrfs_prepare_write, | 770 | .prepare_write = btrfs_prepare_write, |
771 | .commit_write = generic_commit_write, | 771 | .commit_write = nobh_commit_write, |
772 | }; | 772 | }; |
773 | 773 | ||
774 | static struct inode_operations btrfs_file_inode_operations = { | 774 | static struct inode_operations btrfs_file_inode_operations = { |