X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-comm.c;h=798c10a36c47bc1e7257227ba57dc46945fac853;hb=020760b19e351bda940b38ca273f32206ab4d03f;hp=516e39d2f570c6837352ccedb23bd798bbb1b3b0;hpb=ef9ff354212ff4b038e1a5b6a7ed0ffe1b949663;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 516e39d2..798c10a3 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -340,7 +340,9 @@ end: } /* * We still have the memory map reference, and the fds have been - * sent to the sessiond. We can therefore close those fds. + * sent to the sessiond. We can therefore close those fds. Note + * that we keep the write side of the wait_fd open, but close + * the read side. */ if (lur.ret_code == USTCOMM_OK) { switch (lum->cmd) {