diff options
author | Eric Biggers <ebiggers@google.com> | 2019-07-22 09:26:21 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-07-28 16:59:16 -0700 |
commit | fe9918d3b228b3e8c726849d1486933f46b9069e (patch) | |
tree | 5c27d2c4b02bc40169e52bddbbc0e75792e0e585 /fs/verity | |
parent | 085771ec14b9bdb843fe9283d4703ced395d1b0b (diff) |
fs: uapi: define verity bit for FS_IOC_GETFLAGS
Add FS_VERITY_FL to the flags for FS_IOC_GETFLAGS, so that applications
can easily determine whether a file is a verity file at the same time as
they're checking other file flags. This flag will be gettable only;
FS_IOC_SETFLAGS won't allow setting it, since an ioctl must be used
instead to provide more parameters.
This flag matches the on-disk bit that was already allocated for ext4.
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/verity')
0 files changed, 0 insertions, 0 deletions