xfs: hoist the already_fixed variable to the scrub context
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 16 Apr 2019 15:22:00 +0000 (08:22 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 16 Apr 2019 17:01:57 +0000 (10:01 -0700)
commit160b5a784525e8a44902873f1938e1f4d77fe112
tree5f7df442f9d137e108140020c8910deb755c19fc
parentf8c2a2257ca12fb3a04830bbacc85ce860f04ba9
xfs: hoist the already_fixed variable to the scrub context

Now that we no longer memset the scrub context, we can move the
already_fixed variable into the scrub context's state flags instead of
passing around pointers to separate stack variables.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/repair.c
fs/xfs/scrub/repair.h
fs/xfs/scrub/scrub.c
fs/xfs/scrub/scrub.h