]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: simplify xfs_trans_getsb
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Nov 2020 20:11:05 +0000 (15:11 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 20:11:05 +0000 (15:11 -0500)
commit37e6f8856571349abd7a22148d8a924a1b424af8
tree232d6ac930b42aba19f4a80c24d604f6ac8447c7
parentbcd3d2e3008a7041ab670238525e8102baaceb0f
xfs: simplify xfs_trans_getsb

Source kernel commit: cead0b10f557a2331e0e131ce52aaf7ed7f5355f

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_trans.h
libxfs/trans.c
libxfs/xfs_sb.c