Pavel Emelyanov
15ddb4aec5
NFSD: don't report compiled-out versions as present
...
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 6658d3a7bbfd1768 "[PATCH] knfsd: remove
nfsd_versbits as intermediate storage for desired versions".
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: stable@kernel.org
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2010-05-14 18:46:14 -04:00
..
2010-04-22 11:42:00 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 07:56:05 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-05 13:25:52 -05:00
2010-04-26 10:27:54 +02:00
2010-03-30 22:02:32 +09:00
2010-04-14 18:45:31 -07:00
2010-04-22 12:09:48 +02:00
2010-04-22 12:12:40 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-22 12:22:04 +02:00
2010-04-29 20:35:29 +02:00
2010-04-12 21:11:25 +02:00
2010-04-12 21:11:39 +02:00
2010-04-25 10:01:51 -07:00
2010-04-05 11:37:28 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:05 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-03 14:08:00 -05:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-21 12:30:07 -07:00
2010-03-30 22:02:32 +09:00
2010-04-21 12:31:12 -07:00
2010-03-30 22:02:32 +09:00
2010-04-22 12:31:11 +02:00
2010-04-29 10:23:44 -07:00
2010-03-30 22:02:32 +09:00
2010-05-14 18:46:14 -04:00
2010-04-12 18:34:25 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-27 16:26:03 -07:00
2010-04-20 18:25:25 +02:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:24 -07:00
2010-04-22 12:37:07 +02:00
2010-04-25 02:09:05 +01:00
2010-03-30 22:02:32 +09:00
2010-03-05 13:25:52 -05:00
2010-03-30 22:02:32 +09:00
2010-04-08 15:35:20 +02:00
2010-03-12 15:52:35 -08:00
2010-04-29 16:22:13 -05:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-04-27 09:01:26 -07:00
2010-03-06 11:26:46 -08:00
2010-03-30 22:02:32 +09:00
2010-04-21 13:28:49 +10:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-19 08:05:10 +01:00
2010-04-24 11:31:26 -07:00
2010-03-12 16:04:50 -08:00
2010-03-06 11:26:45 -08:00
2010-04-29 08:44:37 -07:00
2010-03-30 22:02:32 +09:00
2010-03-03 14:13:08 -05:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:46 -08:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-03-06 11:26:25 -08:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-04-09 11:50:29 -07:00
2010-03-30 22:02:32 +09:00
2010-03-05 00:20:30 +01:00
2010-03-03 14:07:59 -05:00
2010-04-23 10:39:48 -07:00
2010-03-30 22:02:32 +09:00
2010-03-19 09:43:06 -07:00
2010-03-30 22:02:32 +09:00
2010-03-08 16:55:37 +01:00
2010-03-19 09:43:06 -07:00
2010-03-30 22:02:32 +09:00
2010-03-26 12:41:05 -04:00
2010-03-03 14:08:00 -05:00
2010-03-03 13:00:21 -05:00
2010-03-30 22:02:32 +09:00
2010-03-03 13:00:22 -05:00
2010-03-03 14:07:55 -05:00
2010-03-24 16:43:29 -07:00
2010-03-12 15:52:32 -08:00
2010-03-07 15:48:26 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-29 20:33:35 +02:00
2010-04-25 08:54:42 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00