diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2022-01-12 10:27:38 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-01-13 09:30:48 -0500 |
commit | 1976b2b31462151403c9fc110204fcc2a77bdfd1 (patch) | |
tree | 038bd4b836e15106485df5583911f38f911ceb19 /include/linux/nfs_xdr.h | |
parent | 8a59bb93b7e3cca389af44781a429ac12ac49be6 (diff) | |
download | linux-stable-1976b2b31462151403c9fc110204fcc2a77bdfd1.tar.gz linux-stable-1976b2b31462151403c9fc110204fcc2a77bdfd1.tar.bz2 linux-stable-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/linux/nfs_xdr.h')
-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 *); }; /* |