Skip to content

Commit

Permalink
Log when cmdq_continue is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Sep 16, 2015
1 parent 232a0ff commit c1d0b6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd-queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,17 @@ cmdq_continue_one(struct cmd_q *cmdq)
int
cmdq_continue(struct cmd_q *cmdq)
{
struct client *c = cmdq->client;
struct cmd_q_item *next;
enum cmd_retval retval;
int empty;

cmdq->references++;
notify_disable();

log_debug("continuing cmdq %p: flags=%#x, client=%d", cmdq, cmdq->flags,
c != NULL ? c->ibuf.fd : -1);

empty = TAILQ_EMPTY(&cmdq->queue);
if (empty)
goto empty;
Expand Down

0 comments on commit c1d0b6a

Please sign in to comment.