diff options
author | Joe Thornber <ejt@redhat.com> | 2015-06-11 18:11:48 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-06-11 23:13:06 +0200 |
commit | b1f11aff04cc86daa0757ada5deb669a92a8f0fb (patch) | |
tree | 53fe7654800e4e179b29fa98157fa3afa591e804 /drivers/md/persistent-data/dm-space-map-metadata.c | |
parent | dm thin: fail messages with EOPNOTSUPP when pool cannot handle messages (diff) | |
download | linux-b1f11aff04cc86daa0757ada5deb669a92a8f0fb.tar.xz linux-b1f11aff04cc86daa0757ada5deb669a92a8f0fb.zip |
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>
Diffstat (limited to 'drivers/md/persistent-data/dm-space-map-metadata.c')
0 files changed, 0 insertions, 0 deletions