aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2021-08-18 18:46:57 -0700
committerDarrick J. Wong <[email protected]>2021-08-19 10:07:14 -0700
commit04fcad80cd068731a779fb442f78234732683755 (patch)
tree2570c3f19aba64a2d359769ba1920801f9d5cb9f /net/lapb/lapb_subr.c
parentcf28e17c9186c83e7e8702f844bc40b6e782ce6c (diff)
xfs: introduce xfs_buf_daddr()
Introduce a helper function xfs_buf_daddr() to extract the disk address of the buffer from the struct xfs_buf. This will replace direct accesses to bp->b_bn and bp->b_maps[0].bm_bn, as well as the XFS_BUF_ADDR() macro. This patch introduces the helper function and replaces all uses of XFS_BUF_ADDR() as this is just a simple sed replacement. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions