diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:30:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:10 -0500 |
commit | 175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13 (patch) | |
tree | 841812b19b8a5546e472be321b32ca58528b76c3 /fs/nfsd/nfsfh.c | |
parent | 030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (diff) | |
download | op-kernel-dev-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.zip op-kernel-dev-175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13.tar.gz |
fs: propagate umode_t, misc bits
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfsd/nfsfh.c')
-rw-r--r-- | fs/nfsd/nfsfh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c index c763de5..68454e7 100644 --- a/fs/nfsd/nfsfh.c +++ b/fs/nfsd/nfsfh.c @@ -59,7 +59,7 @@ static int nfsd_acceptable(void *expv, struct dentry *dentry) * the write call). */ static inline __be32 -nfsd_mode_check(struct svc_rqst *rqstp, umode_t mode, int requested) +nfsd_mode_check(struct svc_rqst *rqstp, umode_t mode, umode_t requested) { mode &= S_IFMT; @@ -293,7 +293,7 @@ out: * include/linux/nfsd/nfsd.h. */ __be32 -fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access) +fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, int access) { struct svc_export *exp; struct dentry *dentry; |