diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2022-01-12 16:27:38 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-01-13 15:30:48 +0100 |
commit | 1976b2b31462151403c9fc110204fcc2a77bdfd1 (patch) | |
tree | 038bd4b836e15106485df5583911f38f911ceb19 /include | |
parent | NFSv4 store server support for fs_location attribute (diff) | |
download | linux-1976b2b31462151403c9fc110204fcc2a77bdfd1.tar.xz linux-1976b2b31462151403c9fc110204fcc2a77bdfd1.zip |
NFSv4.1 query for fs_location attr on a new file system
Query the server for other possible trunkable locations for a given
file system on a 4.1+ mount.
v2:
-- added missing static to nfs4_discover_trunking,
reported by the kernel test robot
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index ddff92396a3f..728cb0c1f0b6 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1797,6 +1797,7 @@ struct nfs_rpc_ops { struct nfs_server *(*create_server)(struct fs_context *); struct nfs_server *(*clone_server)(struct nfs_server *, struct nfs_fh *, struct nfs_fattr *, rpc_authflavor_t); + int (*discover_trunking)(struct nfs_server *, struct nfs_fh *); }; /* |