diff options
author | Milan Broz <gmazyland@gmail.com> | 2019-05-22 13:29:44 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-07-09 19:46:01 +0200 |
commit | 5f1c56b34e81e2d63f345f7ad6c5c7971c3c314d (patch) | |
tree | 63a04a9b8699fe2212d6376338b7889e5a7e7431 /net/phonet | |
parent | dm thin metadata: check if in fail_io mode when setting needs_check (diff) | |
download | linux-5f1c56b34e81e2d63f345f7ad6c5c7971c3c314d.tar.xz linux-5f1c56b34e81e2d63f345f7ad6c5c7971c3c314d.zip |
dm integrity: always set version on superblock update
The new integrity bitmap mode uses the dirty flag. The dirty flag
should not be set in older superblock versions.
The current code sets it unconditionally, even if the superblock
was already formatted without bitmap in older system.
Fix this by moving the version check to one common place and check
version on every superblock write.
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions