diff options
| author | Mike Snitzer <[email protected]> | 2019-07-17 15:12:30 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2019-07-17 15:12:30 +0000 |
| commit | 3ee25485ba8e8271fe9401eef5003c20ab648ddf (patch) | |
| tree | ba1c9bde48555434b3343143d2f84fcf8770c037 /drivers/misc/ibmasm | |
| parent | dm zoned: fix zone state management race (diff) | |
| download | kernel-3ee25485ba8e8271fe9401eef5003c20ab648ddf.tar.gz kernel-3ee25485ba8e8271fe9401eef5003c20ab648ddf.zip | |
dm snapshot: fix oversights in optional discard support
__find_snapshots_sharing_cow() should always be used with _origins_lock
held so fix snapshot_io_hints() accordingly. Also, once a snapshot is
being merged discards must not be allowed -- otherwise incorrect or
duplicate work will be performed.
Fixes: 2e6023850e177d ("dm snapshot: add optional discard support features")
Reported-by: Nikos Tsironis <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm')
0 files changed, 0 insertions, 0 deletions
