]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: separate freelist fixing into a separate helper
authorDave Chinner <dchinner@redhat.com>
Wed, 10 Aug 2016 01:29:35 +0000 (11:29 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 01:29:35 +0000 (11:29 +1000)
commit2a6da3b86610c1782e1e3cf643189b67c0dbca1b
treeec60f47ce3eec0cf3a197f6b6901472a57777fd9
parent2d066e167d3404b19c4402a4cad7ef009b10d9fa
xfs: separate freelist fixing into a separate helper

Source kernel commit: 4d89e20bf1b12bd5aa6917efc86da723b331deef

Break up xfs_free_extent() into a helper that fixes the freelist.
This helper will be used subsequently to ensure the freelist during
deferred rmap processing.

[darrick: refactor to put this at the head of the patchset]

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_alloc.c
libxfs/xfs_alloc.h