NFS: Rename struct nfs_parsed_mount_data to struct nfs_fs_context

Rename struct nfs_parsed_mount_data to struct nfs_fs_context and rename
pointers to it to "ctx".  At some point this will be pointed to by an
fs_context struct's fs_private pointer.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
David Howells
2019-12-10 07:31:06 -05:00
committed by Anna Schumaker
parent e0a626b124
commit 5eb005caf5
6 changed files with 392 additions and 392 deletions

View File

@@ -81,7 +81,7 @@ struct nfs_client_initdata {
/*
* In-kernel mount arguments
*/
struct nfs_parsed_mount_data {
struct nfs_fs_context {
int flags;
unsigned int rsize, wsize;
unsigned int timeo, retrans;
@@ -138,7 +138,7 @@ struct nfs_mount_request {
struct nfs_mount_info {
unsigned int inherited_bsize;
struct nfs_parsed_mount_data *parsed;
struct nfs_fs_context *ctx;
struct nfs_clone_mount *cloned;
struct nfs_server *server;
struct nfs_fh *mntfh;
@@ -229,16 +229,16 @@ struct nfs_pageio_descriptor;
/* mount.c */
#define NFS_TEXT_DATA 1
extern struct nfs_parsed_mount_data *nfs_alloc_parsed_mount_data(void);
extern void nfs_free_parsed_mount_data(struct nfs_parsed_mount_data *data);
extern int nfs_parse_mount_options(char *raw, struct nfs_parsed_mount_data *mnt);
extern struct nfs_fs_context *nfs_alloc_parsed_mount_data(void);
extern void nfs_free_parsed_mount_data(struct nfs_fs_context *ctx);
extern int nfs_parse_mount_options(char *raw, struct nfs_fs_context *ctx);
extern int nfs_validate_mount_data(struct file_system_type *fs_type,
void *options,
struct nfs_parsed_mount_data *args,
struct nfs_fs_context *ctx,
struct nfs_fh *mntfh,
const char *dev_name);
extern int nfs_validate_text_mount_data(void *options,
struct nfs_parsed_mount_data *args,
struct nfs_fs_context *ctx,
const char *dev_name);
/* pagelist.c */