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

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.

Lastly move xfs_fc_parse_param() and related functions down to above
xfs_fc_get_tree() and it's related functions.

But leave the options enum, struct fs_parameter_spec and the struct
fs_parameter_description declarations at the top since that's the
logical place for them.

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