diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-03-27 06:33:00 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-03-27 06:33:00 -0400 |
commit | 6407bf6d7c449cbfb0a39d985194e265eda3baf4 (patch) | |
tree | 29b7226d36b1fbbe2a6bed134ddc3f8d98853bb2 /fs/btrfs/super.c | |
parent | dee26a9f7aab7ffe1193cd1415b23a69426acc9f (diff) | |
download | kernel-crypto-6407bf6d7c449cbfb0a39d985194e265eda3baf4.tar.gz kernel-crypto-6407bf6d7c449cbfb0a39d985194e265eda3baf4.tar.xz kernel-crypto-6407bf6d7c449cbfb0a39d985194e265eda3baf4.zip |
Btrfs: reference counts on data extents
Signed-off-by: Chris Mason <chris.mason@oracle.com>
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 2c2883f2856..487da5a213c 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -700,7 +700,7 @@ out: static int btrfs_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to) { - return block_prepare_write(page, from, to, btrfs_get_block); + return nobh_prepare_write(page, from, to, btrfs_get_block); } static void btrfs_write_super(struct super_block *sb) @@ -721,7 +721,7 @@ static int btrfs_readpages(struct file *file, struct address_space *mapping, static int btrfs_writepage(struct page *page, struct writeback_control *wbc) { - return block_write_full_page(page, btrfs_get_block, wbc); + return nobh_writepage(page, btrfs_get_block, wbc); } static int btrfs_get_sb(struct file_system_type *fs_type, @@ -768,7 +768,7 @@ static struct address_space_operations btrfs_aops = { .writepage = btrfs_writepage, .sync_page = block_sync_page, .prepare_write = btrfs_prepare_write, - .commit_write = generic_commit_write, + .commit_write = nobh_commit_write, }; static struct inode_operations btrfs_file_inode_operations = { |