aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2022-01-12 10:27:38 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2022-01-13 09:30:48 -0500
commit1976b2b31462151403c9fc110204fcc2a77bdfd1 (patch)
tree038bd4b836e15106485df5583911f38f911ceb19 /include/linux/nfs_xdr.h
parentNFSv4 store server support for fs_location attribute (diff)
downloadlinux-dev-1976b2b31462151403c9fc110204fcc2a77bdfd1.tar.xz
linux-dev-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.h1
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 *);
};
/*