]> git.baikalelectronics.ru Git - kernel.git/commit
dm writecache: return the exact table values that were set
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 4 Feb 2021 10:20:52 +0000 (05:20 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 8 Feb 2021 16:32:54 +0000 (11:32 -0500)
commit10b0c56fe1db95ab66886393cd57d62ae94e4a3b
tree612cdeeca910f7af0c7302644bb566013eb1ddb1
parentee56473448a2769725f3b3a60185a535c9991439
dm writecache: return the exact table values that were set

LVM doesn't like it when the target returns different values from what
was set in the constructor. Fix dm-writecache so that the returned
table values are exactly the same as requested values.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-writecache.c