tiny mq_open optimization
authorUlrich Drepper <drepper@redhat.com>
Sat, 3 May 2008 19:28:45 +0000 (15:28 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 3 May 2008 20:50:33 +0000 (13:50 -0700)
commit269f21344b23e552c21c9e2d7ca258479dcd7a0a
treecca8c73bba632a716c901c9843cc865cd40ad9ee
parentd35c7b0e54a596c5a8134d75999b7f391a9c6550
tiny mq_open optimization

A very small cleanup for mq_open.

We do not have to call set_close_on_exit if we create the file
descriptor right away with the flag set.  We have a function for this
now.  The resulting code is smaller and a tiny bit faster.

Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/mqueue.c