Files
linux/fs/nfsd
Pavel Emelyanov d700d27176 NFSD: don't report compiled-out versions as present
commit 15ddb4aec5 upstream.

The /proc/fs/nfsd/versions file calls nfsd_vers() to check whether
the particular nfsd version is present/available. The problem is
that once I turn off e.g. NFSD-V4 this call returns -1 which is
true from the callers POV which is wrong.

The proposal is to report false in that case.

The bug has existed since 6658d3a7bb "[PATCH] knfsd: remove
nfsd_versbits as intermediate storage for desired versions".

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-07-05 11:10:27 -07:00
..
2008-02-01 16:42:05 -05:00
2009-09-23 07:39:29 -07:00
2008-10-03 16:19:02 -04:00
2008-06-23 13:02:50 -04:00
2008-06-23 13:02:50 -04:00
2009-09-23 18:13:10 -07:00
2009-05-11 17:23:14 -04:00
2010-05-12 14:57:01 -07:00
2008-02-14 21:17:08 -08:00