diff options
author | Christoph Hellwig <hch@lst.de> | 2024-08-27 09:50:50 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-28 17:53:58 +0300 |
commit | 4acaddf5d1e78814d26df3ff02d5e410d951ff32 (patch) | |
tree | 4239ed2c4f7f0933e6d9f3a7fc0c86481a8c56a0 /rust/helpers/task.c | |
parent | 72f4d525709b6450d181fcfcc296d879f3d0b249 (diff) | |
download | linux-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