summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2023-02-12 23:14:54 +0100
committerDave Chinner <dchinner@redhat.com>2023-02-12 23:14:54 +0100
commitdb4710fd12248e5d4c3842520cd13f034136576b (patch)
tree140a8b7168b32dbf46a8040d1e48e162a527a00b /security
parentxfs: use xfs_alloc_vextent_start_bno() where appropriate (diff)
downloadlinux-db4710fd12248e5d4c3842520cd13f034136576b.tar.xz
linux-db4710fd12248e5d4c3842520cd13f034136576b.zip
xfs: introduce xfs_alloc_vextent_near_bno()
The remaining callers of xfs_alloc_vextent() are all doing NEAR_BNO allocations. We can replace that function with a new xfs_alloc_vextent_near_bno() function that does this explicitly. We also multiplex NEAR_BNO allocations through xfs_alloc_vextent_this_ag via args->type. Replace all of these with direct calls to xfs_alloc_vextent_near_bno(), too. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions