Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326218
b: refs/heads/master
c: 9c5bef5
h: refs/heads/master
v: v3
  • Loading branch information
Ying Xue authored and David Teigland committed Aug 13, 2012
1 parent 28773fd commit dc52e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4dd40f0cd99a3500c6df80eb8f537678559c761e
refs/heads/master: 9c5bef5849c9fde1a37ac005299f759440cbaf4c
5 changes: 1 addition & 4 deletions trunk/fs/dlm/lowcomms.c
Original file line number Diff line number Diff line change
Expand Up @@ -1486,8 +1486,7 @@ static void send_to_sock(struct connection *con)
}
cond_resched();
goto out;
}
if (ret <= 0)
} else if (ret < 0)
goto send_error;
}

Expand All @@ -1504,7 +1503,6 @@ static void send_to_sock(struct connection *con)
if (e->len == 0 && e->users == 0) {
list_del(&e->list);
free_entry(e);
continue;
}
}
spin_unlock(&con->writequeue_lock);
Expand All @@ -1522,7 +1520,6 @@ static void send_to_sock(struct connection *con)
mutex_unlock(&con->sock_mutex);
if (!test_bit(CF_INIT_PENDING, &con->flags))
lowcomms_connect_sock(con);
return;
}

static void clean_one_writequeue(struct connection *con)
Expand Down

0 comments on commit dc52e06

Please sign in to comment.