]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix NFS3 krb5 clients on x86-64
authorMark Goodman <mgoodman@csua.berkeley.edu>
Mon, 18 Oct 2004 01:21:57 +0000 (18:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 01:21:57 +0000 (18:21 -0700)
This patch is necessary to make NFS3 krb5 clients work on x86-64.

ACK'ed by Trond

Signed-off-by: Mark Goodman <mgoodman@csua.berkeley.edu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/auth_gss/auth_gss.c

index cceea09bddc00f95ef0cc29833c885334eee87e8..927b72c89fb3e7bbea7f4538d326fec874e7cbfc 100644 (file)
@@ -246,7 +246,7 @@ gss_parse_init_downcall(struct gss_api_mech *gm, struct xdr_netobj *buf,
        spin_lock_init(&ctx->gc_seq_lock);
        atomic_set(&ctx->count,1);
 
-       if (simple_get_bytes(&p, end, uid, sizeof(uid)))
+       if (simple_get_bytes(&p, end, uid, sizeof(*uid)))
                goto err_free_ctx;
        /* FIXME: discarded timeout for now */
        if (simple_get_bytes(&p, end, &timeout, sizeof(timeout)))