]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/verity: use FSV_BLOCK_SIZE by default
authorEric Biggers <ebiggers@google.com>
Thu, 29 Dec 2022 23:32:15 +0000 (15:32 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 1 Jan 2023 13:33:08 +0000 (21:33 +0800)
commit5fadb20865e6022b0ef43dd2e478e9193c704241
treee3bde81eb96c8c5f13373274b8a7a5df6d62954f
parentd206c4d04b6a87ff84934a6058d7adf77f94d9d4
common/verity: use FSV_BLOCK_SIZE by default

Make _fsv_enable() and _fsv_sign() default to FSV_BLOCK_SIZE if no block
size is explicitly specified, so that the individual tests don't have to
do this themselves.  This overrides the fsverity-utils default of 4096
bytes, or the page size in older versions of fsverity-utils, both of
which may differ from FSV_BLOCK_SIZE.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/verity