Forum Search:
OpenVZ Forum
Members
Search
Help
Register
Login
Home
Home
»
Mailing lists
»
Devel
»
[PATCH v6 00/10] IPC: checkpoint/restore in userspace enhancements
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
[PATCH v6 01/10] ipc: remove forced assignment of selected message
[
message #48335
is a reply to
message #48334
]
Mon, 15 October 2012 10:29
Stanislav Kinsbursky
Messages:
683
Registered:
October 2011
Senior Member
This is a cleanup patch. The assignment is redundant.
Signed-off-by: Stanislav Kinsbursky <
skinsbursky@parallels.com
>
---
ipc/msg.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/ipc/msg.c b/ipc/msg.c
index a71af5a..2f272fa 100644
--- a/ipc/msg.c
+++ b/ipc/msg.c
@@ -793,12 +793,9 @@ long do_msgrcv(int msqid, long *pmtype, void __user *mtext,
msg = walk_msg;
if (mode == SEARCH_LESSEQUAL &&
walk_msg->m_type != 1) {
- msg = walk_msg;
msgtyp = walk_msg->m_type - 1;
- } else {
- msg = walk_msg;
+ } else
break;
- }
}
tmp = tmp->next;
}
Report message to a moderator
[
Message index
]
[PATCH v6 00/10] IPC: checkpoint/restore in userspace enhancements
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:29
[PATCH v6 01/10] ipc: remove forced assignment of selected message
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:29
[PATCH v6 02/10] ipc: "use key as id" functionality for resource get system call i
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:29
[PATCH v6 03/10] ipc: segment key change helper introduced
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:29
[PATCH v6 04/10] ipc: add new SHM_SET command for sys_shmctl() call
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
Re: [PATCH v6 04/10] ipc: add new SHM_SET command for sys_shmctl() call
By:
Stanislav Kinsbursky
on Tue, 16 October 2012 07:55
[PATCH v6 05/10] ipc: add new MSG_SET command for sys_msgctl() call
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
[PATCH v6 06/10] glge driver: rename internal SEM_SET macro to SEM_INIT
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
Re: [PATCH v6 06/10] glge driver: rename internal SEM_SET macro to SEM_INIT
By:
Stanislav Kinsbursky
on Tue, 16 October 2012 07:55
Re: [PATCH v6 06/10] glge driver: rename internal SEM_SET macro to SEM_INIT
By:
Stanislav Kinsbursky
on Tue, 16 October 2012 07:56
Re: [PATCH v6 06/10] glge driver: rename internal SEM_SET macro to SEM_INIT
By:
Serge E. Hallyn
on Tue, 23 October 2012 17:26
[PATCH v6 07/10] ipc: add new SEM_SET command for sys_semctl() call
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
[PATCH v6 08/10] IPC: message queue receive cleanup
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
Re: [PATCH v6 08/10] IPC: message queue receive cleanup
By:
Stanislav Kinsbursky
on Tue, 16 October 2012 07:56
[PATCH v6 09/10] IPC: message queue copy feature introduced
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
[PATCH v6 10/10] test: IPC message queue copy feture test
By:
Stanislav Kinsbursky
on Mon, 15 October 2012 10:30
Previous Topic:
[PATCH v6 00/10] IPC: checkpoint/restore in userspace enhancements
Next Topic:
[PATCH v5] posix timers: allocate timer id per process
Goto Forum:
- General
Virtuozzo 7 Beta Program
Support
HowTo
Discussions
- Mailing lists
Users
Devel
- International
German
French
Russian
- Test
TestForum
ml-test
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Fri Aug 22 17:42:30 GMT 2025
Total time taken to generate the page: 0.06189 seconds