OSDN Git Service

NFS: Add a stub for GETDEVICELIST
authorAnna Schumaker <Anna.Schumaker@netapp.com>
Tue, 14 Apr 2015 14:34:20 +0000 (10:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:04:06 +0000 (22:04 +0200)
commitecb403f5eaf05dd7a9160fae030d55e23a5a4445
tree2a6026648eb3bb7b7a5eee0aed9b64c1e8cd843c
parent5efdfc74ab7d8ccfce9f8517012e3962939c91fc
NFS: Add a stub for GETDEVICELIST

commit 7c61f0d3897eeeff6f3294adb9f910ddefa8035a upstream.

d4b18c3e (pnfs: remove GETDEVICELIST implementation) removed the
GETDEVICELIST operation from the NFS client, but left a "hole" in the
nfs4_procedures array.  This caused /proc/self/mountstats to report an
operation named "51" where GETDEVICELIST used to be.  This patch adds a
stub to fix mountstats.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Fixes: d4b18c3e (pnfs: remove GETDEVICELIST implementation)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4xdr.c