aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJan Schmidt <[email protected]>2011-05-04 14:18:50 +0000
committerChris Mason <[email protected]>2011-06-10 23:00:53 +0000
commit08d2f347e877e489ca098c87a6fd2e872fef9767 (patch)
tree1bbe77e283afcc22afa1510fbf42aa27529cbadd /lib/debugobjects.c
parentMerge branch 'for-chris' of git://git.kernel.org/pub/scm/linux/kernel/git/arn... (diff)
downloadkernel-08d2f347e877e489ca098c87a6fd2e872fef9767.tar.gz
kernel-08d2f347e877e489ca098c87a6fd2e872fef9767.zip
Btrfs: fix extent state leak on failed nodatasum reads
When encountering an EIO while reading from a nodatasum extent, we insert an error record into the inode's failure tree. btrfs_readpage_end_io_hook returns early for nodatasum inodes. We'd better clear the failure tree in that case, otherwise the kernel complains about BUG extent_state: Objects remaining on kmem_cache_close() on rmmod. Signed-off-by: Jan Schmidt <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions