diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-11-29 01:21:31 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-29 18:24:52 +0100 |
commit | fd79b77117f16264206ed2618199d42e93cc8f09 (patch) | |
tree | 5441a9bea8e58106a419e910eb547fe731539ac4 /README | |
parent | spi: S3C2410: add bus number to SPI GPIO driver (diff) | |
download | linux-fd79b77117f16264206ed2618199d42e93cc8f09.tar.xz linux-fd79b77117f16264206ed2618199d42e93cc8f09.zip |
ipc: lost unlock and fput in mqueue.c on error path
The error path in sys_mq_getsetattr() after the call to
audit_mq_getsetattr() is wrong - the info->lock is not unlocked and the
struct file *filp is not put.
Fix them both.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Pierre Peiffer <pierre.peiffer@bull.net>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions