]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add a stub for GETDEVICELIST
authorAnna Schumaker <Anna.Schumaker@netapp.com>
Tue, 14 Apr 2015 14:34:20 +0000 (10:34 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 23 Apr 2015 19:16:13 +0000 (15:16 -0400)
commite08a7b075622c2490c6fe79020bc0e64cee3e0e7
tree29972826fad8e82b056461de70251dcd4d99dd1f
parentbf050f95765a0323f0c15de0ba3dab78a6ffedd0
NFS: Add a stub for GETDEVICELIST

929e1cb1 (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: 929e1cb1 (pnfs: remove GETDEVICELIST implementation)
Cc: stable@vger.kernel.org # 3.17+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4xdr.c