diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-10 20:36:31 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-12 13:20:54 -0400 |
commit | d4b18c3e00b8d18fbd316abe9639b91ad416e1f3 (patch) | |
tree | bb4e90418ef3aaf994687252d96d6276630dfe20 /fs/nfs/pnfs.h | |
parent | fd41b4748b3b6c1220f926427bf63bef456034a5 (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.h | 5 |
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 *); | |||
180 | extern void pnfs_unregister_layoutdriver(struct pnfs_layoutdriver_type *); | 180 | extern void pnfs_unregister_layoutdriver(struct pnfs_layoutdriver_type *); |
181 | 181 | ||
182 | /* nfs4proc.c */ | 182 | /* nfs4proc.c */ |
183 | extern int nfs4_proc_getdevicelist(struct nfs_server *server, | ||
184 | const struct nfs_fh *fh, | ||
185 | struct pnfs_devicelist *devlist); | ||
186 | extern int nfs4_proc_getdeviceinfo(struct nfs_server *server, | 183 | extern 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 *); | |||
277 | void nfs4_mark_deviceid_unavailable(struct nfs4_deviceid_node *node); | 274 | void nfs4_mark_deviceid_unavailable(struct nfs4_deviceid_node *node); |
278 | bool nfs4_test_deviceid_unavailable(struct nfs4_deviceid_node *node); | 275 | bool nfs4_test_deviceid_unavailable(struct nfs4_deviceid_node *node); |
279 | void nfs4_deviceid_purge_client(const struct nfs_client *); | 276 | void nfs4_deviceid_purge_client(const struct nfs_client *); |
280 | int nfs4_deviceid_getdevicelist(struct nfs_server *server, | ||
281 | const struct nfs_fh *fh); | ||
282 | 277 | ||
283 | static inline struct nfs4_deviceid_node * | 278 | static inline struct nfs4_deviceid_node * |
284 | nfs4_get_deviceid(struct nfs4_deviceid_node *d) | 279 | nfs4_get_deviceid(struct nfs4_deviceid_node *d) |