summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/export.h
diff options
context:
space:
mode:
authorAndy Adamson2007-07-17 13:04:48 +0200
committerLinus Torvalds2007-07-17 19:23:08 +0200
commit32c1eb0cd7ee00b5eb7b6f7059c635fbc1052966 (patch)
treec1a15e47d2dd93417b38d374346332809d461bda /include/linux/nfsd/export.h
parentknfsd: nfsd: factor nfsd_lookup into 2 pieces (diff)
downloadkernel-qcow2-linux-32c1eb0cd7ee00b5eb7b6f7059c635fbc1052966.tar.gz
kernel-qcow2-linux-32c1eb0cd7ee00b5eb7b6f7059c635fbc1052966.tar.xz
kernel-qcow2-linux-32c1eb0cd7ee00b5eb7b6f7059c635fbc1052966.zip
knfsd: nfsd4: return nfserr_wrongsec
Make the first actual use of the secinfo information by using it to return nfserr_wrongsec when an export is found that doesn't allow the flavor used on this request. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Andy Adamson <andros@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/nfsd/export.h')
-rw-r--r--include/linux/nfsd/export.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h
index 1ba53e524749..424be41130ba 100644
--- a/include/linux/nfsd/export.h
+++ b/include/linux/nfsd/export.h
@@ -116,6 +116,7 @@ struct svc_expkey {
#define EX_NOHIDE(exp) ((exp)->ex_flags & NFSEXP_NOHIDE)
#define EX_WGATHER(exp) ((exp)->ex_flags & NFSEXP_GATHERED_WRITES)
+__be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
/*
* Function declarations