diff options
| author | 2020-03-10 08:57:30 -0700 | |
|---|---|---|
| committer | 2020-03-11 09:11:39 -0700 | |
| commit | 3e6e8afd3abb745871ee215738a899a495c54a66 (patch) | |
| tree | fe3ed8cb9715b630c87e039cf9e3d2a291b795a5 /fs/xfs/xfs_trans.c | |
| parent | xfs: remove XFS_BUF_TO_AGF (diff) | |
| download | wireguard-linux-3e6e8afd3abb745871ee215738a899a495c54a66.tar.xz wireguard-linux-3e6e8afd3abb745871ee215738a899a495c54a66.zip | |
xfs: remove XFS_BUF_TO_SBP
Just dereference bp->b_addr directly and make the code a little
simpler and more clear.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to '')
| -rw-r--r-- | fs/xfs/xfs_trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 3b208f9a865c..73c534093f09 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c @@ -450,7 +450,7 @@ xfs_trans_apply_sb_deltas( int whole = 0; bp = xfs_trans_getsb(tp, tp->t_mountp); - sbp = XFS_BUF_TO_SBP(bp); + sbp = bp->b_addr; /* * Check that superblock mods match the mods made to AGF counters. |
