]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b9358afc01865603a0bf6c769d18a3e8b273790
tree6d4d99320c3fb78093b37f99ea5f5252759b674f
parent5a6cab1e461f7d5e7220bfcdbbd952c95879a31e
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