]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: factor out filestreams from xfs_bmap_btalloc_nullfb
authorDave Chinner <dchinner@redhat.com>
Tue, 9 May 2023 09:30:39 +0000 (11:30 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 10 May 2023 12:44:58 +0000 (14:44 +0200)
commit451b902f95add9e87681ad27ce5693c4b7efb182
tree44a17b32b9f8c4624be45938184b9a47ee3fd78b
parent91cceb740f1547246f10ef97f79190afa949abca
xfs: factor out filestreams from xfs_bmap_btalloc_nullfb

Source kernel commit: 89563e7dc099343bf7792515452e1a24005d98a6

There's many if (filestreams) {} else {} branches in this function.
Split it out into a filestreams specific function so that we can
then work directly on cleaning up the filestreams code without
impacting the rest of the allocation algorithms.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_bmap.c