This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / ipc / msg.c
index 62aead4..7964406 100644 (file)
--- a/ipc/msg.c
+++ b/ipc/msg.c
@@ -99,7 +99,7 @@ static int newque (key_t key, int msgflg)
 
        msq->q_perm.mode = (msgflg & S_IRWXUGO);
        msq->q_perm.key = key;
-       msq->q_perm.xid = vx_current_xid();
+       msq->q_perm.xid = current->xid;
 
        msq->q_perm.security = NULL;
        retval = security_msg_queue_alloc(msq);