aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 1c0752e99066..4084959b36fd 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -380,7 +380,7 @@ static int csum_dirty_buffer(struct btrfs_root *root, struct page *page)
380 len = page->private >> 2; 380 len = page->private >> 2;
381 WARN_ON(len == 0); 381 WARN_ON(len == 0);
382 382
383 eb = alloc_extent_buffer(tree, start, len, page, GFP_NOFS); 383 eb = alloc_extent_buffer(tree, start, len, page);
384 if (eb == NULL) { 384 if (eb == NULL) {
385 WARN_ON(1); 385 WARN_ON(1);
386 goto out; 386 goto out;
@@ -525,7 +525,7 @@ static int btree_readpage_end_io_hook(struct page *page, u64 start, u64 end,
525 len = page->private >> 2; 525 len = page->private >> 2;
526 WARN_ON(len == 0); 526 WARN_ON(len == 0);
527 527
528 eb = alloc_extent_buffer(tree, start, len, page, GFP_NOFS); 528 eb = alloc_extent_buffer(tree, start, len, page);
529 if (eb == NULL) { 529 if (eb == NULL) {
530 ret = -EIO; 530 ret = -EIO;
531 goto out; 531 goto out;
@@ -974,7 +974,7 @@ struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root,
974 struct extent_buffer *eb; 974 struct extent_buffer *eb;
975 975
976 eb = alloc_extent_buffer(&BTRFS_I(btree_inode)->io_tree, 976 eb = alloc_extent_buffer(&BTRFS_I(btree_inode)->io_tree,
977 bytenr, blocksize, NULL, GFP_NOFS); 977 bytenr, blocksize, NULL);
978 return eb; 978 return eb;
979} 979}
980 980