commit | b1f11aff04cc86daa0757ada5deb669a92a8f0fb | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Thu Jun 11 17:11:48 2015 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Jun 11 17:13:06 2015 -0400 |
tree | 53fe7654800e4e179b29fa98157fa3afa591e804 | |
parent | fd467696e8beb542144cd005ff96cd35fff41354 [diff] |
dm thin metadata: fix a race when entering fail mode In dm_thin_find_block() the ->fail_io flag was checked outside the metadata device's root_lock, causing dm_thin_find_block() to race with the setting of this flag. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>