diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 12:27:40 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 12:27:40 +0200 |
commit | 4d43913ce07ffbcb1ae8e7bdd06a4bd67cd07791 (patch) | |
tree | cc1f8daee6e0817a778fbaa1064b2afad50351a7 /msg.c | |
parent | Remove mon_pipe for communicating from monitor to manager (diff) | |
download | mdadm-4d43913ce07ffbcb1ae8e7bdd06a4bd67cd07791.tar.xz mdadm-4d43913ce07ffbcb1ae8e7bdd06a4bd67cd07791.zip |
Remove mgr_pipe for communicating from manage to monitor.
Data is being passed in shared memory, so the pipe is only being
use as a wakeup. This can more easily be done with a thread-signal.
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ tx_rx_message(int fd, struct md_message *msg, int recv_send, int tmo) break; case TX_RX_NUM_BYTES: if (msg->num_bytes > - sizeof(union md_message_commands)) + 1024*1024) state = TX_RX_ERR; else if (recv_send && msg->num_bytes) { msg->buf = malloc(msg->num_bytes); |