]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
fscrypt-crypt-util: rename block to data unit
authorEric Biggers <ebiggers@google.com>
Tue, 21 Nov 2023 22:39:06 +0000 (14:39 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 14 Jan 2024 12:39:09 +0000 (20:39 +0800)
commit72dad8092e6238cc2dff451b194b0fda13e2c7b2
treef1ac362d39183ea13f8434f2b5ae77237ba2d010
parent3a0381a4595e37d591c25f9eb3713a310d621538
fscrypt-crypt-util: rename block to data unit

Rename the --block-size option to --data-unit-size, and rename the
--block-number option to --data-unit-index.

This does not change any functionality, but this avoids confusion now
that the kernel supports the case where the crypto data unit size is not
the same as the filesystem block size.  fscrypt-crypt-util cares about
the crypto data unit size, not the filesystem 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/encrypt
src/fscrypt-crypt-util.c
tests/f2fs/002