summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_inode_fork.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-04-29 08:15:25 +0200
committerChandan Babu R <chandanbabu@kernel.org>2024-04-30 09:45:19 +0530
commit2a9b99d45be0981536f6d3faf40ae3f58febdd49 (patch)
tree86c1573899cfd8090af465584ae0f44fe64c9cb6 /fs/xfs/libxfs/xfs_inode_fork.c
parent9d06960341ec5f45d3d65bdead3fbce753455e8a (diff)
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 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions