summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-08-27 09:50:50 +0300
committerChristian Brauner <brauner@kernel.org>2024-08-28 17:53:58 +0300
commit4acaddf5d1e78814d26df3ff02d5e410d951ff32 (patch)
tree4239ed2c4f7f0933e6d9f3a7fc0c86481a8c56a0 /rust/helpers/task.c
parent72f4d525709b6450d181fcfcc296d879f3d0b249 (diff)
downloadlinux-4acaddf5d1e78814d26df3ff02d5e410d951ff32.tar.xz
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 <hch@lst.de> Link: https://lore.kernel.org/r/20240827065123.1762168-7-hch@lst.de Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions