diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-06 19:20:54 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-02-12 01:07:01 +0100 |
commit | 9228d751ebf9c7876902db6458a33c26674f7ccc (patch) | |
tree | f95e10241beb983ea203c4da1b9483855c8abf0b /fs/xfs/scrub/repair.h | |
parent | xfs: add magic numbers to dquot buffer ops (diff) | |
download | linux-9228d751ebf9c7876902db6458a33c26674f7ccc.tar.xz linux-9228d751ebf9c7876902db6458a33c26674f7ccc.zip |
xfs: use buf ops magic to detect btree block type
Now that we encode block magic numbers in all the buffer ops, use that
for block type detection in the ag header repair code instead of
encoding magics directly in the repair code.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/xfs/scrub/repair.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h index f2fc18bb7605..d990314eb08b 100644 --- a/fs/xfs/scrub/repair.h +++ b/fs/xfs/scrub/repair.h @@ -42,9 +42,6 @@ struct xrep_find_ag_btree { /* in: buffer ops */ const struct xfs_buf_ops *buf_ops; - /* in: magic number of the btree */ - uint32_t magic; - /* out: the highest btree block found and the tree height */ xfs_agblock_t root; unsigned int height; |