diff options
author | Alexander Larsson <alexl@redhat.com> | 2023-06-21 10:32:31 +0200 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2023-08-12 18:02:38 +0200 |
commit | bf07089081a0ea18da4a103b9d813ffae3c2f6d8 (patch) | |
tree | 4402aa478356f3d607045ddf43b04bd7c910b82b /fs/jfs | |
parent | ovl: Add framework for verity support (diff) | |
download | linux-bf07089081a0ea18da4a103b9d813ffae3c2f6d8.tar.xz linux-bf07089081a0ea18da4a103b9d813ffae3c2f6d8.zip |
ovl: Add versioned header for overlay.metacopy xattr
Historically overlay.metacopy was a zero-size xattr, and it's
existence marked a metacopy file. This change adds a versioned header
with a flag field, a length and a digest. The initial use-case of this
will be for validating a fs-verity digest, but the flags field could
also be used later for other new features.
ovl_check_metacopy_xattr() now returns the size of the xattr,
emulating a size of OVL_METACOPY_MIN_SIZE for empty xattrs to
distinguish it from the no-xattr case.
Signed-off-by: Alexander Larsson <alexl@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions