linux-sg2042/fs/xfs/scrub
Darrick J. Wong 9d71e15586 xfs: refactor scrub context initialization
It's a little silly how the memset in scrub context initialization
forces us to declare stack variables to preserve context variables
across a retry.  Since the teardown functions already null out most of
the ephemeral state (buffer pointers, btree cursors, etc.), just skip
the memset and move the initialization as needed.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2019-04-16 10:01:57 -07:00
..
agheader.c xfs: fix backwards endian conversion in scrub 2019-02-25 10:16:42 -08:00
agheader_repair.c xfs: use buf ops magic to detect btree block type 2019-02-11 16:07:01 -08:00
alloc.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
attr.c xfs: check attribute name validity 2019-02-11 16:06:40 -08:00
bitmap.c xfs: repair the AGFL 2018-08-10 11:44:31 -07:00
bitmap.h xfs: repair the AGFL 2018-08-10 11:44:31 -07:00
bmap.c xfs: scrub should flag dir/attr offsets that aren't mappable with xfs_dablk_t 2019-02-11 16:06:40 -08:00
btree.c xfs: fix btree scrub checking with regards to root-in-inode 2019-03-19 08:16:41 -07:00
btree.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
common.c xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
common.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
dabtree.c xfs: dabtree scrub needs to range-check level 2019-03-19 08:16:21 -07:00
dabtree.h xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
dir.c xfs: check directory name validity 2019-02-11 16:06:40 -08:00
ialloc.c xfs: fix uninitialized error variable 2019-02-21 07:55:07 -08:00
inode.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
parent.c xfs: clean up IRELE/iput callsites 2018-07-26 10:15:16 -07:00
quota.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
refcount.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
repair.c xfs: use buf ops magic to detect btree block type 2019-02-11 16:07:01 -08:00
repair.h xfs: use buf ops magic to detect btree block type 2019-02-11 16:07:01 -08:00
rmap.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
rtbitmap.c xfs: fix off-by-one error in rtbitmap cross-reference 2019-02-11 16:06:40 -08:00
scrub.c xfs: refactor scrub context initialization 2019-04-16 10:01:57 -07:00
scrub.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
symlink.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
trace.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
trace.h xfs: clean up the inode cluster checking in the inobt scrub 2019-02-11 16:06:39 -08:00
xfs_scrub.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00