mqueue: fix mq_open() file descriptor leak on user-space processes
commit4294a8eedb17bbc45e1e7447c2a4d05332943248
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Tue, 23 Feb 2010 07:04:28 +0000 (23 04:04 -0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Mar 2010 19:46:05 +0000 (3 14:46 -0500)
treedb83b372de61b43208e08a97dd5f0280552d7ffa
parent4919c5e45a91b5db5a41695fe0357fbdff0d5767
mqueue: fix mq_open() file descriptor leak on user-space processes

We leak fd on lookup_one_len() failure

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
ipc/mqueue.c