summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-30 06:19:18 +0100
committerCarlos Maiolino <cem@kernel.org>2026-01-30 10:41:42 +0100
commitb8862a09d8256a9037293f1da3b4617b21de26f1 (patch)
tree514c13763caa9d3723da49f109045acdea5d3e66 /rust/alloc/collections/git@git.tavy.me:linux.git
parent394969e2f9d11427ce493e171949958122dc11ee (diff)
xfs: don't validate error tags in the I/O path
We can trust XFS developers enough to not pass random stuff to XFS_ERROR_TEST/DELAY. Open code the validity check in xfs_errortag_add, which is the only place that receives unvalidated error tag values from user space, and drop the now pointless xfs_errortag_enabled helper. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions