xfs: simplify xfs_trans_getsb
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 17:55:47 +0000 (10:55 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:39 +0000 (20:52 -0700)
commitcead0b10f557a2331e0e131ce52aaf7ed7f5355f
tree6d4d99320c3fb78093b37f99ea5f5252759b674f
parent22c10589a10baea8e4695fcf38437b89a41e70a1
xfs: simplify xfs_trans_getsb

Remove the mp argument as this function is only called in transaction
context, and open code xfs_getsb given that the function already accesses
the buffer pointer in the mount point directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_sb.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h
fs/xfs/xfs_trans_buf.c