projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd: distinguish functions of NFSD_MAY_* flags
[deliverable/linux.git]
/
fs
/
nfsd
/
vfs.c
diff --git
a/fs/nfsd/vfs.c
b/fs/nfsd/vfs.c
index 2e1cebde90df4c69baa21635e959f9d81c9809f1..a76ef7e0b3d0592838da8593c1f24c86fa8f1ae5 100644
(file)
--- a/
fs/nfsd/vfs.c
+++ b/
fs/nfsd/vfs.c
@@
-2027,7
+2027,7
@@
nfsd_permission(struct svc_rqst *rqstp, struct svc_export *exp,
struct inode *inode = dentry->d_inode;
int err;
- if (
acc
== NFSD_MAY_NOP)
+ if (
(acc & NFSD_MAY_MASK)
== NFSD_MAY_NOP)
return 0;
#if 0
dprintk("nfsd: permission 0x%x%s%s%s%s%s%s%s mode 0%o%s%s%s\n",
This page took
0.024068 seconds
and
5
git commands to generate.