diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-04-16 18:21:59 +0300 |
|---|---|---|
| committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-04-16 20:01:57 +0300 |
| commit | 9d71e15586fd7d274a23dd0bbf54278c86fe263f (patch) | |
| tree | c9b612cbe1ae9ff88ec1ed53aed310d6c98ba858 /lib/mpi/mpi-pow.c | |
| parent | 89d139d5ad465e35a9c602421eb1a1ff08ea530d (diff) | |
| download | linux-9d71e15586fd7d274a23dd0bbf54278c86fe263f.tar.xz | |
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>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
