diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2021-02-09 10:56:20 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-02-09 17:09:02 -0500 |
commit | 4134455f2aafdfeab50cabb4cccb35e916034b93 (patch) | |
tree | 5c945f2ed7f0734006782150a49bf1aa89f41fe2 /drivers/md/md-multipath.h | |
parent | cccb493cdae76a51e1258c0738e2b43869655d39 (diff) | |
download | linux-4134455f2aafdfeab50cabb4cccb35e916034b93.tar.gz |
dm writecache: fix writing beyond end of underlying device when shrinking
Do not attempt to write any data beyond the end of the underlying data
device while shrinking it.
The DM writecache device must be suspended when the underlying data
device is shrunk.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/md-multipath.h')
0 files changed, 0 insertions, 0 deletions