aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-12 11:36:58 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-12 11:36:58 -0400
commit340887809d92a4dd6c71caa97d658cef32c098c3 (patch)
tree4767f84fa4b066ac57c5df15741bda47766fe8ce /fs/btrfs/disk-io.c
parent6cbd55707802b98843f953d1ae6d8f5bcd9a76c0 (diff)
Btrfs: i386 fixes from axboe
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 8c68a64c0ce..b0ebba6f2e4 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -106,7 +106,7 @@ struct buffer_head *btrfs_find_create_tree_block(struct btrfs_root *root,
int err;
u64 first_block = index << (PAGE_CACHE_SHIFT - blockbits);
- page = grab_cache_page(mapping, index);
+ page = find_or_create_page(mapping, index, GFP_NOFS);
if (!page)
return NULL;