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
route: Fix caught BUG_ON during rt_secret_rebuild_oneshot()
[pandora-kernel.git]
/
ipc
/
mqueue.c
diff --git
a/ipc/mqueue.c
b/ipc/mqueue.c
index
b6cb064
..
e4e3f04
100644
(file)
--- a/
ipc/mqueue.c
+++ b/
ipc/mqueue.c
@@
-155,7
+155,7
@@
static struct inode *mqueue_get_inode(struct super_block *sb,
spin_lock(&mq_lock);
if (u->mq_bytes + mq_bytes < u->mq_bytes ||
u->mq_bytes + mq_bytes >
-
p->signal->rlim[RLIMIT_MSGQUEUE].rlim_cur
) {
+
task_rlimit(p, RLIMIT_MSGQUEUE)
) {
spin_unlock(&mq_lock);
kfree(info->messages);
goto out_inode;