summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2019-11-04 13:58:46 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-05 08:28:26 -0800
commit73e5fff98b6446de1490a8d7809121b0108d49f4 (patch)
tree250b958a4bf5f08574a5351b0473431db86e9dd5 /init
parent7c89fcb2783d758d16f68e579811d5395d907960 (diff)
xfs: switch to use the new mount-api
Define the struct fs_parameter_spec table that's used by the new mount-api for options parsing. Create the various fs context operations methods and define the fs_context_operations struct. Create the fs context initialization method and update the struct file_system_type to utilize it. The initialization function is responsible for working storage initialization, allocation and initialization of file system private information storage and for setting the operations in the fs context. Also set struct file_system_type .parameters to the newly defined struct fs_parameter_spec options parsing table for use by the fs context methods and remove unused code. [darrick: add a comment pointing out the one place where mp->m_super is null] Signed-off-by: Ian Kent <raven@themaw.net> Reviewed-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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions