diff options
| author | Joe Thornber <ejt@redhat.com> | 2014-11-25 13:14:57 +0000 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2014-12-01 11:30:11 -0500 |
| commit | 43c32bf2b0c16d292f4f214dfd16f9cb205e4e81 (patch) | |
| tree | 3c6a8a4ea99883f16b94a177f7e54b6f286e1206 /tools | |
| parent | dm cache: when reloading a discard bitset allow for a different discard block... (diff) | |
| download | linux-43c32bf2b0c16d292f4f214dfd16f9cb205e4e81.tar.gz linux-43c32bf2b0c16d292f4f214dfd16f9cb205e4e81.zip | |
dm cache: fix a harmless race when working out if a block is discarded
It is more correct to hold the cell before checking the discard state.
These flags are only used as hints to the policy so this change will
have negligable effect.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
