diff options
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 0e181c2320b7..00485e084394 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -824,7 +824,7 @@ struct nfs3_getaclres { | |||
824 | struct posix_acl * acl_default; | 824 | struct posix_acl * acl_default; |
825 | }; | 825 | }; |
826 | 826 | ||
827 | #ifdef CONFIG_NFS_V4 | 827 | #if IS_ENABLED(CONFIG_NFS_V4) |
828 | 828 | ||
829 | typedef u64 clientid4; | 829 | typedef u64 clientid4; |
830 | 830 | ||
@@ -1353,6 +1353,8 @@ struct nfs_renamedata { | |||
1353 | struct nfs_access_entry; | 1353 | struct nfs_access_entry; |
1354 | struct nfs_client; | 1354 | struct nfs_client; |
1355 | struct rpc_timeout; | 1355 | struct rpc_timeout; |
1356 | struct nfs_subversion; | ||
1357 | struct nfs_mount_info; | ||
1356 | struct nfs_client_initdata; | 1358 | struct nfs_client_initdata; |
1357 | struct nfs_pageio_descriptor; | 1359 | struct nfs_pageio_descriptor; |
1358 | 1360 | ||
@@ -1370,6 +1372,8 @@ struct nfs_rpc_ops { | |||
1370 | struct nfs_fsinfo *); | 1372 | struct nfs_fsinfo *); |
1371 | struct vfsmount *(*submount) (struct nfs_server *, struct dentry *, | 1373 | struct vfsmount *(*submount) (struct nfs_server *, struct dentry *, |
1372 | struct nfs_fh *, struct nfs_fattr *); | 1374 | struct nfs_fh *, struct nfs_fattr *); |
1375 | struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *, | ||
1376 | struct nfs_subversion *); | ||
1373 | int (*getattr) (struct nfs_server *, struct nfs_fh *, | 1377 | int (*getattr) (struct nfs_server *, struct nfs_fh *, |
1374 | struct nfs_fattr *); | 1378 | struct nfs_fattr *); |
1375 | int (*setattr) (struct dentry *, struct nfs_fattr *, | 1379 | int (*setattr) (struct dentry *, struct nfs_fattr *, |
@@ -1435,6 +1439,9 @@ struct nfs_rpc_ops { | |||
1435 | (*init_client) (struct nfs_client *, const struct rpc_timeout *, | 1439 | (*init_client) (struct nfs_client *, const struct rpc_timeout *, |
1436 | const char *, rpc_authflavor_t); | 1440 | const char *, rpc_authflavor_t); |
1437 | void (*free_client) (struct nfs_client *); | 1441 | void (*free_client) (struct nfs_client *); |
1442 | struct nfs_server *(*create_server)(struct nfs_mount_info *, struct nfs_subversion *); | ||
1443 | struct nfs_server *(*clone_server)(struct nfs_server *, struct nfs_fh *, | ||
1444 | struct nfs_fattr *, rpc_authflavor_t); | ||
1438 | }; | 1445 | }; |
1439 | 1446 | ||
1440 | /* | 1447 | /* |