summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_trans_resv.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2019-02-07 21:45:47 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-02-12 03:07:01 +0300
commit09f420197d7ced360b4809606efd7a65f842c2c0 (patch)
tree93199e50fbae6dc200e715bece2c090f57818b40 /fs/xfs/libxfs/xfs_trans_resv.c
parentb8f89801664f8413a88cf2c7539d1aeae07dd3c5 (diff)
downloadlinux-09f420197d7ced360b4809606efd7a65f842c2c0.tar.xz
xfs: use verifier magic field in dir2 leaf verifiers
The dir2 leaf verifiers share the same underlying structure verification code, but implement six accessor functions to multiplex the code across the two verifiers. Further, the magic value isn't sufficiently abstracted such that the common helper has to manually fix up the magic from the caller on v5 filesystems. Use the magic field in the verifier structure to eliminate the duplicate code and clean this all up. No functional change. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_trans_resv.c')
0 files changed, 0 insertions, 0 deletions