diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-17 12:25:43 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-17 12:25:43 +0200 |
commit | 0f1f6dec9593c8319714c927dafb443548a1452a (patch) | |
tree | 74f887dc86747523e82f08900501073f451996cc /fs/nfsd/nfsproc.c | |
parent | 8cd162ce230b154e564a1285bb5f89fcf73f0dce (diff) | |
parent | 2e532d68a2b3e2aa6b19731501222069735c741c (diff) | |
download | kernel-crypto-0f1f6dec9593c8319714c927dafb443548a1452a.tar.gz kernel-crypto-0f1f6dec9593c8319714c927dafb443548a1452a.tar.xz kernel-crypto-0f1f6dec9593c8319714c927dafb443548a1452a.zip |
Merge branch 'linus' into sched/urgent
Diffstat (limited to 'fs/nfsd/nfsproc.c')
-rw-r--r-- | fs/nfsd/nfsproc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index 0766f95d236..5cffeca7ace 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c @@ -65,7 +65,8 @@ nfsd_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); fh_copy(&resp->fh, &argp->fh); - nfserr = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP); + nfserr = fh_verify(rqstp, &resp->fh, 0, + NFSD_MAY_NOP | NFSD_MAY_BYPASS_GSS_ON_ROOT); return nfsd_return_attrs(nfserr, resp); } @@ -521,7 +522,8 @@ nfsd_proc_statfs(struct svc_rqst * rqstp, struct nfsd_fhandle *argp, dprintk("nfsd: STATFS %s\n", SVCFH_fmt(&argp->fh)); - nfserr = nfsd_statfs(rqstp, &argp->fh, &resp->stats); + nfserr = nfsd_statfs(rqstp, &argp->fh, &resp->stats, + NFSD_MAY_BYPASS_GSS_ON_ROOT); fh_put(&argp->fh); return nfserr; } |