Files
linux/fs
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
..
2010-02-09 04:50:48 -08:00
2010-02-23 07:37:55 -08:00
2010-02-09 04:50:46 -08:00
2009-10-04 15:05:10 -07:00
2009-09-30 12:19:44 -05:00
2009-12-18 14:04:08 -08:00
2009-09-23 18:13:10 -07:00
2010-05-26 14:29:21 -07:00
2009-09-23 07:39:30 -07:00
2009-09-24 08:41:47 -04:00
2010-02-09 04:50:47 -08:00
2009-09-24 08:41:47 -04:00
2010-04-26 07:41:19 -07:00
2009-09-24 07:21:03 -07:00
2010-02-23 07:37:44 -08:00
2009-09-24 07:47:27 -04:00
2009-10-22 08:11:44 +09:00
2009-10-04 15:05:10 -07:00
2009-09-23 07:39:29 -07:00