OSDN Git Service

xfs: xrep_reap_extents should not destroy the bitmap
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 17 Mar 2020 00:12:34 +0000 (17:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Mar 2020 15:12:23 +0000 (08:12 -0700)
commit37a6547d92af4d16778cead78ef2f9233f5573fe
tree19624e2a5c66a78b3f08395c193644e13a53880b
parent77ca1eed5a7d2bf0905562eb1a15aac76bc19fe4
xfs: xrep_reap_extents should not destroy the bitmap

Remove the xfs_bitmap_destroy call from the end of xrep_reap_extents
because this sort of violates our rule that the function initializing a
structure should destroy it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/scrub/agheader_repair.c
fs/xfs/scrub/repair.c