]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: use xfs_defer_alloc a bit more
authorDave Chinner <dchinner@redhat.com>
Mon, 22 Apr 2024 17:00:51 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:35 +0000 (11:37 -0700)
commit2931f8389fce0fec5e4dfb4211e3b47765dd0197
tree9e073690673f7582b0a17ee4027f101ba0c717da
parentcf5e9c9d3ecba565fb5f4401fc6267346495ca00
xfs: use xfs_defer_alloc a bit more

Source kernel commit: 57b98393b812ddaf9cf33a0d57d70b25cabfed66

Noticed by inspection, simple factoring allows the same allocation
routine to be used for both transaction and recovery contexts.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_defer.c