aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-10 20:36:31 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-09-12 13:20:54 -0400
commitd4b18c3e00b8d18fbd316abe9639b91ad416e1f3 (patch)
treebb4e90418ef3aaf994687252d96d6276630dfe20 /fs/nfs/pnfs.h
parentfd41b4748b3b6c1220f926427bf63bef456034a5 (diff)
pnfs: remove GETDEVICELIST implementation
The current GETDEVICELIST implementation is buggy in that it doesn't handle cursors correctly, and in that it returns an error if the server returns NFSERR_NOTSUPP. Given that there is no actual need for GETDEVICELIST, it has various issues and might get removed for NFSv4.2 stop using it in the blocklayout driver, and thus the Linux NFS client as whole. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index d84fe29fc88b..b10f12fc6818 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -180,9 +180,6 @@ extern int pnfs_register_layoutdriver(struct pnfs_layoutdriver_type *);
180extern void pnfs_unregister_layoutdriver(struct pnfs_layoutdriver_type *); 180extern void pnfs_unregister_layoutdriver(struct pnfs_layoutdriver_type *);
181 181
182/* nfs4proc.c */ 182/* nfs4proc.c */
183extern int nfs4_proc_getdevicelist(struct nfs_server *server,
184 const struct nfs_fh *fh,
185 struct pnfs_devicelist *devlist);
186extern int nfs4_proc_getdeviceinfo(struct nfs_server *server, 183extern int nfs4_proc_getdeviceinfo(struct nfs_server *server,
187 struct pnfs_device *dev, 184 struct pnfs_device *dev,
188 struct rpc_cred *cred); 185 struct rpc_cred *cred);
@@ -277,8 +274,6 @@ bool nfs4_put_deviceid_node(struct nfs4_deviceid_node *);
277void nfs4_mark_deviceid_unavailable(struct nfs4_deviceid_node *node); 274void nfs4_mark_deviceid_unavailable(struct nfs4_deviceid_node *node);
278bool nfs4_test_deviceid_unavailable(struct nfs4_deviceid_node *node); 275bool nfs4_test_deviceid_unavailable(struct nfs4_deviceid_node *node);
279void nfs4_deviceid_purge_client(const struct nfs_client *); 276void nfs4_deviceid_purge_client(const struct nfs_client *);
280int nfs4_deviceid_getdevicelist(struct nfs_server *server,
281 const struct nfs_fh *fh);
282 277
283static inline struct nfs4_deviceid_node * 278static inline struct nfs4_deviceid_node *
284nfs4_get_deviceid(struct nfs4_deviceid_node *d) 279nfs4_get_deviceid(struct nfs4_deviceid_node *d)