diff options
| author | Andrey Albershteyn <aalbersh@kernel.org> | 2026-10-03 00:36:46 +0200 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-10-04 19:47:47 +0200 |
| commit | 85cdd23fcae7fb71f4832b2a6f89db0ed121db28 (patch) | |
| tree | e40a23461d3502fe27b95ac9d92527389dc960ed /include/uapi/linux/netdev.h | |
| parent | 9e74c01463f608d72f2da55d0ffe870f03edd124 (diff) | |
| download | linux-next-85cdd23fcae7fb71f4832b2a6f89db0ed121db28.tar.gz linux-next-85cdd23fcae7fb71f4832b2a6f89db0ed121db28.zip | |
fsverity: don't allow setting DAX file attribute on fsverity files
When fsverity is enabled on the file, with FS_IOC_ENABLE_VERITY ioctl(),
it checks if file has DAX enabled and fails if that's true. However, the
opposite case is not checked.
Note, that the only other filesystem supporting DAX and fsverity is
ext4, and ext4 does check for this case.
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@kernel.org>
Link: https://patch.msgid.link/20261002223705.2175542-6-aalbersh@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/uapi/linux/netdev.h')
0 files changed, 0 insertions, 0 deletions
