https://github.com/torvalds/linux
Revision 08d2f347e877e489ca098c87a6fd2e872fef9767 authored by Jan Schmidt on 04 May 2011, 14:18:50 UTC, committed by Chris Mason on 10 June 2011, 23:00:53 UTC
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>
1 parent 0e73587
History
Tip revision: 08d2f347e877e489ca098c87a6fd2e872fef9767 authored by Jan Schmidt on 04 May 2011, 14:18:50 UTC
Btrfs: fix extent state leak on failed nodatasum reads
Tip revision: 08d2f34
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 188.3 KB
Makefile -rw-r--r-- 51.1 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top