Revision a3ed2a15719219769bb095b28009c1d654a419e8 authored by André Goddard Rosa on 11 May 2010, 21:07:03 UTC, committed by Linus Torvalds on 12 May 2010, 00:33:42 UTC
In case of aborting because we reach the maximum amount of memory which
can be allocated to message queues per user (RLIMIT_MSGQUEUE), we would
try to free the message area twice when bailing out: first by the error
handling code itself, and then later when cleaning up the inode through
delete_inode().

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent de145b4
History
File Mode Size
Makefile -rw-r--r-- 356 bytes
cache.c -rw-r--r-- 888 bytes
cacheflush.S -rw-r--r-- 1.4 KB
crisksyms.c -rw-r--r-- 826 bytes
debugport.c -rw-r--r-- 3.8 KB
entry.S -rw-r--r-- 21.2 KB
fasttimer.c -rw-r--r-- 22.4 KB
head.S -rw-r--r-- 12.7 KB
irq.c -rw-r--r-- 12.7 KB
kgdb.c -rw-r--r-- 49.3 KB
kgdb_asm.S -rw-r--r-- 12.4 KB
pinmux.c -rw-r--r-- 5.3 KB
process.c -rw-r--r-- 6.8 KB
ptrace.c -rw-r--r-- 10.3 KB
setup.c -rw-r--r-- 2.6 KB
signal.c -rw-r--r-- 17.4 KB
smp.c -rw-r--r-- 8.0 KB
time.c -rw-r--r-- 10.3 KB
traps.c -rw-r--r-- 4.4 KB

back to top