diff options
author | 2024-04-29 08:15:25 +0200 | |
---|---|---|
committer | 2024-04-30 09:45:19 +0530 | |
commit | 2a9b99d45be0981536f6d3faf40ae3f58febdd49 (patch) | |
tree | 86c1573899cfd8090af465584ae0f44fe64c9cb6 /scripts/generate_rust_analyzer.py | |
parent | xfs: don't open code XFS_FILBLKS_MIN in xfs_bmapi_write (diff) | |
download | wireguard-linux-2a9b99d45be0981536f6d3faf40ae3f58febdd49.tar.xz wireguard-linux-2a9b99d45be0981536f6d3faf40ae3f58febdd49.zip |
xfs: pass the actual offset and len to allocate to xfs_bmapi_allocate
xfs_bmapi_allocate currently overwrites offset and len when converting
delayed allocations, and duplicates the length cap done for non-delalloc
allocations. Move all that logic into the callers to avoid duplication
and to make the calling conventions more obvious.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions