diff options
author | NeilBrown <neilb@suse.de> | 2007-01-26 03:56:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-26 16:50:59 -0500 |
commit | 1a8eff6d977c28162c61c9532ca58634e7090b69 (patch) | |
tree | ef4b4e6639778b803f04028ee4e9337dc50ba967 /net/sunrpc | |
parent | 98fac23f332da2dea96f6bec4890eb35fdd50606 (diff) |
[PATCH] knfsd: fix setting of ACL server versions
Due to silly typos, if the nfs versions are explicitly set, no NFSACL versions
get enabled.
Also improve an error message that would have made this bug a little easier to
find.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index f3001f3626f6..bf21a2047010 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -910,7 +910,8 @@ err_bad_prog: | |||
910 | 910 | ||
911 | err_bad_vers: | 911 | err_bad_vers: |
912 | #ifdef RPC_PARANOIA | 912 | #ifdef RPC_PARANOIA |
913 | printk("svc: unknown version (%d)\n", vers); | 913 | printk("svc: unknown version (%d for prog %d, %s)\n", |
914 | vers, prog, progp->pg_name); | ||
914 | #endif | 915 | #endif |
915 | serv->sv_stats->rpcbadfmt++; | 916 | serv->sv_stats->rpcbadfmt++; |
916 | svc_putnl(resv, RPC_PROG_MISMATCH); | 917 | svc_putnl(resv, RPC_PROG_MISMATCH); |