NFS: Add a stub for GETDEVICELIST
authorAnna Schumaker <Anna.Schumaker@netapp.com>
Tue, 14 Apr 2015 14:34:20 +0000 (10:34 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:26 +0000 (19:12 -0400)
commit49b6acb62afaf20bee52c95bcb0a3baeeddc5b0c
treef304e99f067c634c85fdd0bc4f784daa9027bbab
parent61c8c52ced763e16f2c1482ee5a7f4e162c5c4ca
NFS: Add a stub for GETDEVICELIST

[ Upstream commit 7c61f0d3897eeeff6f3294adb9f910ddefa8035a ]

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)
Cc: stable@vger.kernel.org # 3.17+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/nfs/nfs4xdr.c