summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorAllison Karlitskaya <allison.karlitskaya@redhat.com>2024-11-26 16:23:31 +0100
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:14 +0100
commitbfcf6d04f8ee817b2cb7c238e0a14392a3245f45 (patch)
tree7b4c0652f7c44b1fed619f60ca6e7736c86fd5f7 /fs/btrfs/inode.c
parentd0ad40d730ef30e51d3ec4e3b8c9b6691053354a (diff)
downloadlinux-bfcf6d04f8ee817b2cb7c238e0a14392a3245f45.tar.gz
linux-bfcf6d04f8ee817b2cb7c238e0a14392a3245f45.tar.bz2
linux-bfcf6d04f8ee817b2cb7c238e0a14392a3245f45.zip
btrfs: handle FS_IOC_READ_VERITY_METADATA ioctl
Commit 146054090b08 ("btrfs: initial fsverity support") introduced fs-verity support for btrfs, but didn't add support for FS_IOC_READ_VERITY_METADATA to directly query the Merkle tree, descriptor and signature blocks for fs-verity enabled files. Add the (trival) implementation: we just need to wire it through to the fs-verity code, the same way as is done in the other two filesystems which support this ioctl (ext4, f2fs). The fs-verity code already has access to the required data. This is also safe to backport to older stable trees (5.15+) if needed. Signed-off-by: Allison Karlitskaya <allison.karlitskaya@redhat.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions