diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-11 02:36:31 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-12 19:20:54 +0200 |
commit | d4b18c3e00b8d18fbd316abe9639b91ad416e1f3 (patch) | |
tree | bb4e90418ef3aaf994687252d96d6276630dfe20 /fs/nfs/blocklayout | |
parent | pnfs/objlayout: fix endianess annotation in objio_alloc_deviceid_node (diff) | |
download | linux-d4b18c3e00b8d18fbd316abe9639b91ad416e1f3.tar.xz linux-d4b18c3e00b8d18fbd316abe9639b91ad416e1f3.zip |
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/blocklayout')
-rw-r--r-- | fs/nfs/blocklayout/blocklayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c index 25ba9e0e6fff..3e1f1afc6db4 100644 --- a/fs/nfs/blocklayout/blocklayout.c +++ b/fs/nfs/blocklayout/blocklayout.c @@ -532,7 +532,7 @@ bl_set_layoutdriver(struct nfs_server *server, const struct nfs_fh *fh) return -EINVAL; } - return nfs4_deviceid_getdevicelist(server, fh); + return 0; } static bool |