Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
* git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: Btrfs: check return value of alloc_extent_map() Btrfs - Fix memory leak in btrfs_init_new_device() btrfs: prevent heap corruption in btrfs_ioctl_space_info() Btrfs: Fix balance panic Btrfs: don't release pages when we can't clear the uptodate bits Btrfs: fix page->private races
This commit is contained in:
@@ -6583,7 +6583,7 @@ static noinline int relocate_data_extent(struct inode *reloc_inode,
|
||||
u64 end = start + extent_key->offset - 1;
|
||||
|
||||
em = alloc_extent_map(GFP_NOFS);
|
||||
BUG_ON(!em || IS_ERR(em));
|
||||
BUG_ON(!em);
|
||||
|
||||
em->start = start;
|
||||
em->len = extent_key->offset;
|
||||
|
Reference in New Issue
Block a user