From: NeilBrown Since nfsd_setuser() is already called from any operation that uses the current filehandle (because it's called from fh_verify), there's no reason to call it from putrootfh. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton --- fs/nfsd/nfs4proc.c | 2 -- 1 files changed, 2 deletions(-) diff -puN fs/nfsd/nfs4proc.c~knfsd-nfsd4-remove-nfsd_setuser-from-putrootfh fs/nfsd/nfs4proc.c --- 25/fs/nfsd/nfs4proc.c~knfsd-nfsd4-remove-nfsd_setuser-from-putrootfh Mon Apr 3 16:08:05 2006 +++ 25-akpm/fs/nfsd/nfs4proc.c Mon Apr 3 16:08:05 2006 @@ -288,8 +288,6 @@ nfsd4_putrootfh(struct svc_rqst *rqstp, fh_put(current_fh); status = exp_pseudoroot(rqstp->rq_client, current_fh, &rqstp->rq_chandle); - if (!status) - status = nfserrno(nfsd_setuser(rqstp, current_fh->fh_export)); return status; } _