On Wed, Dec 14, 2022 at 02:43:00PM -0800, Eric Biggers wrote: > This series implements a few cleanups that have been suggested > in the thread "[RFC PATCH 00/11] fs-verity support for XFS" > (https://lore.kernel.org/linux-fsdevel/20221213172935.680971-1-aalbersh@xxxxxxxxxx/T/#u). > > This applies to mainline (commit 93761c93e9da). > > Eric Biggers (4): > fsverity: optimize fsverity_file_open() on non-verity files > fsverity: optimize fsverity_prepare_setattr() on non-verity files > fsverity: optimize fsverity_cleanup_inode() on non-verity files > fsverity: pass pos and size to ->write_merkle_tree_block > > fs/btrfs/verity.c | 19 ++++------- > fs/ext4/verity.c | 6 ++-- > fs/f2fs/verity.c | 6 ++-- > fs/verity/enable.c | 4 +-- > fs/verity/open.c | 46 ++++--------------------- > include/linux/fsverity.h | 74 +++++++++++++++++++++++++++++++++------- > 6 files changed, 84 insertions(+), 71 deletions(-) > > Applied for 6.3. (To https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git/log/?h=fsverity for now, but there might be a new git repo soon, as is being discussed elsewhere.) - Eric