aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/security.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-08-27 06:50:50 +0000
committerChristian Brauner <[email protected]>2024-08-28 14:53:58 +0000
commit4acaddf5d1e78814d26df3ff02d5e410d951ff32 (patch)
tree4239ed2c4f7f0933e6d9f3a7fc0c86481a8c56a0 /rust/helpers/security.c
parentxfs: move the xfs_is_always_cow_inode check into xfs_alloc_file_space (diff)
downloadkernel-4acaddf5d1e78814d26df3ff02d5e410d951ff32.tar.gz
kernel-4acaddf5d1e78814d26df3ff02d5e410d951ff32.zip
xfs: refactor xfs_file_fallocate
Refactor xfs_file_fallocate into separate helpers for each mode, two factors for i_size handling and a single switch statement over the supported modes. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions