git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DSS2: dispc_get_trans_key was returning wrong key type
[pandora-kernel.git]
/
ipc
/
mqueue.c
diff --git
a/ipc/mqueue.c
b/ipc/mqueue.c
index
474984f
..
96fb36c
100644
(file)
--- a/
ipc/mqueue.c
+++ b/
ipc/mqueue.c
@@
-638,7
+638,7
@@
static int oflag2acc[O_ACCMODE] = { MAY_READ, MAY_WRITE,
return ERR_PTR(-EINVAL);
}
- if (
permission(dentry->d_inode, oflag2acc[oflag & O_ACCMODE], NULL
)) {
+ if (
inode_permission(dentry->d_inode, oflag2acc[oflag & O_ACCMODE]
)) {
dput(dentry);
mntput(mqueue_mnt);
return ERR_PTR(-EACCES);