]> git.baikalelectronics.ru Git - kernel.git/commit
dm verity: allow only one error handling mode
authorJeongHyeon Lee <jhs2.lee@samsung.com>
Thu, 11 Mar 2021 12:10:51 +0000 (21:10 +0900)
committerMike Snitzer <snitzer@redhat.com>
Fri, 26 Mar 2021 18:53:41 +0000 (14:53 -0400)
commitc728ee671e98bd318538644f1b0de8fef568841c
treefd7fce2e7d701b30700202e58b271da7b38b2cb9
parentec86c7f1c9aeb6989d060fd7fba8131430d9b072
dm verity: allow only one error handling mode

If more than one one handling mode is requested during DM verity table
load, the last requested mode will be used.

Change this to impose more strict checking so that the table load will
fail if more than one error handling mode is requested.

Signed-off-by: JeongHyeon Lee <jhs2.lee@samsung.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-verity-target.c