diff options
author | Josef Bacik <[email protected]> | 2013-05-31 13:04:36 -0400 |
---|---|---|
committer | Chris Mason <[email protected]> | 2013-06-08 15:07:53 -0400 |
commit | a9995eece39a0630ebbfc1ab38570bce6c8a8f5b (patch) | |
tree | 1dab3bca657f98015fed634bf08e2cc9742741f6 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 6379ef9fb2482a92b5fe09f927d6ce1f989c0c6d (diff) |
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 <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions