Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.9 /ipc/mqueue.c

Filename:/ipc/mqueue.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.9-final  2.6.9-rc4  2.6.9-rc3  2.6.9-rc2  2.6.9-rc1  2.6.8 
(Following) 2.6.9-bk1  2.6.9-bk2  2.6.9-bk3  2.6.9-bk4  2.6.9-bk5  2.6.9-bk6 

Location
[  2.6.9
  [  ipc
     o  mqueue.c

Patch

diff -Nru a/ipc/mqueue.c b/ipc/mqueue.c
--- a/ipc/mqueue.c   2004-10-18 14:56:32 -07:00
+++ b/ipc/mqueue.c   2004-10-18 14:56:32 -07:00
@@ -828,7 +828,7 @@
    /* First try to allocate memory, before doing anything with
     * existing queues. */
    msg_ptr = load_msg(u_msg_ptr, msg_len);
-   if (unlikely(IS_ERR(msg_ptr))) {
+   if (IS_ERR(msg_ptr)) {
       ret = PTR_ERR(msg_ptr);
       goto out_fput;
    }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.