]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: fix duplicate proc entries
authorFabian Frederick <fabf@skynet.be>
Wed, 24 Sep 2014 16:56:11 +0000 (18:56 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 25 Sep 2014 03:00:18 +0000 (23:00 -0400)
commit421f615d42f2bdc6296891924a3dd2195a1f082f
treef525f300ce78ec08ad2d2f8b6e148dddec4c3a47
parent83f1fc3984359da51ab52c31d6cd7723db1656a3
nfs: fix duplicate proc entries

Commit 676aefaab572
("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: 676aefaab572 (NFS: Fix /proc/fs/nfsfs/servers and...)
Cc: stable@vger.kernel.org # 3.4.x+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/client.c