Btrfs: stop the readahead threads on failed mount
authorChris Mason <chris.mason@oracle.com>
Thu, 3 Nov 2011 19:21:39 +0000 (15:21 -0400)
committerChris Mason <chris.mason@oracle.com>
Sun, 6 Nov 2011 08:09:41 +0000 (03:09 -0500)
commit306c8b68c82dfe6b7c9e5b61985760ad5d089205
treebf720bdfe5de076d4006bee3c1dfc84d5efcb003
parentc674e04e1cd6049715e7b9446790f4b441e547c0
Btrfs: stop the readahead threads on failed mount

If we don't stop them, they linger around corrupting
memory by using pointers to freed things.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c