diff options
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index b0ff34b96607..65338a1d14ad 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -185,6 +185,7 @@ int btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end, | |||
185 | split = alloc_extent_map(GFP_NOFS); | 185 | split = alloc_extent_map(GFP_NOFS); |
186 | if (!split2) | 186 | if (!split2) |
187 | split2 = alloc_extent_map(GFP_NOFS); | 187 | split2 = alloc_extent_map(GFP_NOFS); |
188 | BUG_ON(!split || !split2); | ||
188 | 189 | ||
189 | write_lock(&em_tree->lock); | 190 | write_lock(&em_tree->lock); |
190 | em = lookup_extent_mapping(em_tree, start, len); | 191 | em = lookup_extent_mapping(em_tree, start, len); |