]> 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)
commit95f1798007f29a2ae166dbf6773a50fb312bd21c
tree6d4d99320c3fb78093b37f99ea5f5252759b674f
parent80ef1cc33711b74322e3f3fc04f5462a8e8d802a
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