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-- 328 bytes
cache-flush-mn10300.S -rw-r--r-- 5.4 KB
cache-mn10300.S -rw-r--r-- 6.3 KB
cache.c -rw-r--r-- 3.0 KB
dma-alloc.c -rw-r--r-- 2.0 KB
extable.c -rw-r--r-- 705 bytes
fault.c -rw-r--r-- 9.9 KB
init.c -rw-r--r-- 4.2 KB
misalignment.c -rw-r--r-- 29.3 KB
mmu-context.c -rw-r--r-- 1.9 KB
pgtable.c -rw-r--r-- 4.5 KB
tlb-mn10300.S -rw-r--r-- 4.4 KB

back to top