Jan Schmidt 08d2f347e8 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 <list.btrfs@jan-o-sch.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-06-10 19:00:53 -04:00
..
2011-05-28 07:00:39 -04:00
2011-06-04 08:11:22 -04:00
2008-09-25 11:04:06 -04:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:11:22 -04:00
2011-05-26 17:52:15 -04:00
2010-12-22 23:15:47 +08:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:03:47 -04:00
2011-05-28 07:00:39 -04:00
2011-06-04 08:03:44 -04:00
2011-05-28 07:00:39 -04:00