]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_{copy,db,logprint,repair}: pass xfs_mount pointers instead of xfs_sb pointers
authorDarrick J. Wong <djwong@kernel.org>
Mon, 31 Jan 2022 20:25:41 +0000 (15:25 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jan 2022 20:25:41 +0000 (15:25 -0500)
commit575f24e536641e5df46e2dd2f8e0a487eada3d5c
tree70d7478704e33023f52ceded9fa6081922422e6e
parentb3aba5752d11f2a01d79ca88fee9cd5ed3cf616a
xfs_{copy,db,logprint,repair}: pass xfs_mount pointers instead of xfs_sb pointers

Where possible, convert these four programs to pass a pointer to a
struct xfs_mount instead of the struct xfs_sb inside the mount.  This
will make it easier to convert some of the code to the new
xfs_has_FEATURE predicates later on.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
copy/xfs_copy.c
db/sb.c
libxfs/init.c
logprint/logprint.c
repair/versions.c
repair/versions.h
repair/xfs_repair.c