]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: move xfs_fc_get_tree() above xfs_fc_reconfigure()
authorIan Kent <raven@themaw.net>
Mon, 4 Nov 2019 21:58:47 +0000 (13:58 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Nov 2019 16:28:27 +0000 (08:28 -0800)
commitc84bf90b04c222209bfaf2abb86a09c7cbb8a5e5
tree3273b3965ca599a318a7f429a6b65fe0084d7623
parent141cb631e8a73d648d7bf2d51feee236eed7d28d
xfs: move xfs_fc_get_tree() above xfs_fc_reconfigure()

Grouping the options parsing and mount handling functions above the
struct fs_context_operations but below the struct super_operations
should improve (some) the grouping of the super operations while also
improving the grouping of the options parsing and mount handling code.

Now move xfs_fc_get_tree() and friends, also take the oppertunity to
change STATIC to static for the xfs_fs_put_super() function.
This is a straight code move, there aren't any functional changes.

Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_super.c