projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c674e04
)
Btrfs: stop the readahead threads on failed mount
author
Chris Mason
<chris.mason@oracle.com>
Thu, 3 Nov 2011 19:21:39 +0000
(15:21 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Sun, 6 Nov 2011 08:09:41 +0000
(
03:09
-0500)
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
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index 40a62b98008700a7429c93b2b8ca116eb7a3cb8d..e532892431f46b1d6dbfbb8f0d846dcf6256f42b 100644
(file)
--- a/
fs/btrfs/disk-io.c
+++ b/
fs/btrfs/disk-io.c
@@
-2444,6
+2444,7
@@
fail_tree_roots:
fail_sb_buffer:
btrfs_stop_workers(&fs_info->generic_worker);
+ btrfs_stop_workers(&fs_info->readahead_workers);
btrfs_stop_workers(&fs_info->fixup_workers);
btrfs_stop_workers(&fs_info->delalloc_workers);
btrfs_stop_workers(&fs_info->workers);