projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec12781
)
coda_ioctl_permission() is safe in RCU mode
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 19 Jun 2011 00:11:43 +0000
(20:11 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:44:19 +0000
(10:44 -0400)
return (mask & MAY_EXEC) ? -EACCES : 0; is non-blocking...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/coda/pioctl.c
patch
|
blob
|
history
diff --git
a/fs/coda/pioctl.c
b/fs/coda/pioctl.c
index 6cbb3afb36dc2b28b9aa3f2b585c195330894699..cb140ef293e46e8739669f2e69eea701d8213874 100644
(file)
--- a/
fs/coda/pioctl.c
+++ b/
fs/coda/pioctl.c
@@
-43,8
+43,6
@@
const struct file_operations coda_ioctl_operations = {
/* the coda pioctl inode ops */
static int coda_ioctl_permission(struct inode *inode, int mask, unsigned int flags)
{
- if (flags & IPERM_FLAG_RCU)
- return -ECHILD;
return (mask & MAY_EXEC) ? -EACCES : 0;
}