Skip to contentSkip to conversation

fsverity updates for 6.2

GIT PULL Merged Eric Biggers 2 participants 2 messages Dec 12, 2022 – Dec 13, 2022

Subsystems (3)
lore
Share & tools
lore

Eric Biggers

author maintainer
#0 lore raw

The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fsverity-for-linus

for you to fetch changes up to a4bbf53d88c728da9ff6c316b1e4ded63a8f3940:

fsverity: simplify fsverity_get_digest() (2022-11-29 21:07:41 -0800)

----------------------------------------------------------------

The main change this cycle is to stop using the PG_error flag to track verity failures, and instead just track failures at the bio level. This follows a similar fscrypt change that went into 6.1, and it is a step towards freeing up PG_error for other uses.

There's also one other small cleanup.

----------------------------------------------------------------
Eric Biggers (2):
fsverity: stop using PG_error to track error status
fsverity: simplify fsverity_get_digest()

 fs/ext4/readpage.c           |  8 ++----
 fs/f2fs/compress.c           | 64 +++++++++++++++++++++-----------------------
 fs/f2fs/data.c               | 53 ++++++++++++++++++++++--------------
 fs/verity/fsverity_private.h |  5 ++++
 fs/verity/hash_algs.c        |  6 +++++
 fs/verity/measure.c          | 19 ++-----------
 fs/verity/verify.c           | 12 ++++-----
 7 files changed, 85 insertions(+), 82 deletions(-)