]> git.hungrycats.org Git - linux/commit
nfs: fix duplicate proc entries
authorFabian Frederick <fabf@skynet.be>
Wed, 24 Sep 2014 16:56:11 +0000 (18:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:43:10 +0000 (09:43 -0700)
commit40456158e3c0f2aacd846a8d24b08916dc358174
tree33655271b94bd542ce2150f3c7f660cef05be574
parent3a2a7dcfd74f030169bcc2e2d3fe6249e721268b
nfs: fix duplicate proc entries

commit 2f3169fb18f4643ac9a6a097a6a6c71f0b2cef75 upstream.

Commit 65b38851a174
("NFS: Fix /proc/fs/nfsfs/servers and /proc/fs/nfsfs/volumes")

updated the following function:
static int nfs_volume_list_open(struct inode *inode, struct file *file)

it used &nfs_server_list_ops instead of &nfs_volume_list_ops
which means cat /proc/fs/nfsfs/volumes = /proc/fs/nfsfs/servers

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Fixes: 65b38851a174 (NFS: Fix /proc/fs/nfsfs/servers and...)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/client.c