summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-05-31 19:04:36 +0200
committerChris Mason <chris.mason@fusionio.com>2013-06-08 21:07:53 +0200
commita9995eece39a0630ebbfc1ab38570bce6c8a8f5b (patch)
tree1dab3bca657f98015fed634bf08e2cc9742741f6 /fs/btrfs/async-thread.h
parentbtrfs: Drop inode if inode root is NULL (diff)
downloadlinux-a9995eece39a0630ebbfc1ab38570bce6c8a8f5b.tar.xz
linux-a9995eece39a0630ebbfc1ab38570bce6c8a8f5b.zip
Btrfs: init relocate extent_io_tree with a mapping
Dave reported a NULL pointer deref. This is caused because he thought he'd be smart and add sanity checks to the extent_io bit operations, but he didn't expect a tree to have a NULL mapping. To fix this we just need to init the relocation's processed_blocks with the btree_inode->i_mapping. Thanks, Reported-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/async-thread.h')
0 files changed, 0 insertions, 0 deletions