diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-02-05 17:10:18 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-02-08 13:01:24 +0100 |
commit | 866eef48d80234e1ea3a2f78b54afc563be3ea4a (patch) | |
tree | 61626e0bd41554a4645d3c61e34488c4491765fe /fs/gfs2/recovery.h | |
parent | 47b7ec1daa511cd82cb9c31e88bfdb664b031d2a (diff) |
gfs2: Add trusted xattr support
Add support for an additional filesystem version (sb_fs_format = 1802).
When a filesystem with the new version is mounted, the filesystem
supports "trusted.*" xattrs.
In addition, version 1802 filesystems implement a form of forward
compatibility for xattrs: when xattrs with an unknown prefix (ea_type)
are found on a version 1802 filesystem, those attributes are not shown
by listxattr, and they are not accessible by getxattr, setxattr, or
removexattr.
This mechanism might turn out to be what we need in the future, but if
not, we can always bump the filesystem version and break compatibility
instead.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Andrew Price <anprice@redhat.com>
Diffstat (limited to 'fs/gfs2/recovery.h')
0 files changed, 0 insertions, 0 deletions