diff options
author | Qu Wenruo | 2014-04-22 17:13:51 +0800 |
---|---|---|
committer | Chris Mason | 2014-06-09 17:20:35 -0700 |
commit | 65d33fd7a6e4aaf9cd6577555d0b3c18fbefe415 (patch) | |
tree | a4de22a193e48b0adb451ceeec2ad1f91544dde5 /drivers/power | |
parent | 21c7e75654b77b53a4436bf28496aac11536b6ba (diff) |
btrfs: Add check to avoid cleanup roots already in fs_info->dead_roots.
Current btrfs_orphan_cleanup will also cleanup roots which is already in
fs_info->dead_roots without protection.
This will have conditional race with fs_info->cleaner_kthread.
This patch will use refs in root->root_item to detect roots in
dead_roots and avoid conflicts.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions