--- ./fs/nfs/inode.c.orig 2005-02-07 21:38:57.000000000 +0100 +++ ./fs/nfs/inode.c 2005-02-07 21:43:33.000000000 +0100 @@ -839,7 +839,7 @@ if (ctx != NULL) { atomic_set(&ctx->count, 1); ctx->dentry = dget(dentry); - ctx->cred = get_rpccred(cred); + ctx->cred = cred; ctx->state = NULL; ctx->lockowner = current->files; ctx->error = 0; @@ -923,7 +923,6 @@ if ((cred = rpcauth_lookupcred(NFS_CLIENT(inode)->cl_auth, 0)) == NULL) return -ENOMEM; ctx = alloc_nfs_open_context(filp->f_dentry, cred); - put_rpccred(cred); if (ctx == NULL) return -ENOMEM; ctx->mode = filp->f_mode; --- ./fs/nfs/nfs4proc.c.orig 2005-02-06 18:05:04.000000000 +0100 +++ ./fs/nfs/nfs4proc.c 2005-02-07 21:43:33.000000000 +0100 @@ -2004,7 +2004,6 @@ if (unlikely(cred == NULL)) return -ENOMEM; ctx = alloc_nfs_open_context(dentry, cred); - put_rpccred(cred); if (unlikely(ctx == NULL)) return -ENOMEM; status = -EIO; /* ERACE actually */