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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index f2ee584b8efd..e1e55679d061 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -154,7 +154,7 @@ static struct extent_map *btree_get_extent(struct inode *inode,
154 } 154 }
155 read_unlock(&em_tree->lock); 155 read_unlock(&em_tree->lock);
156 156
157 em = alloc_extent_map(GFP_NOFS); 157 em = alloc_extent_map();
158 if (!em) { 158 if (!em) {
159 em = ERR_PTR(-ENOMEM); 159 em = ERR_PTR(-ENOMEM);
160 goto out; 160 goto out;