Loading fs/dlm/lowcomms.c +2 −5 Original line number Diff line number Diff line Loading @@ -1285,7 +1285,6 @@ void dlm_lowcomms_commit_buffer(void *mh) static void send_to_sock(struct connection *con) { int ret = 0; ssize_t(*sendpage) (struct socket *, struct page *, int, size_t, int); const int msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; struct writequeue_entry *e; int len, offset; Loading @@ -1294,8 +1293,6 @@ static void send_to_sock(struct connection *con) if (con->sock == NULL) goto out_connect; sendpage = con->sock->ops->sendpage; spin_lock(&con->writequeue_lock); for (;;) { e = list_entry(con->writequeue.next, struct writequeue_entry, Loading @@ -1310,7 +1307,7 @@ static void send_to_sock(struct connection *con) ret = 0; if (len) { ret = sendpage(con->sock, e->page, offset, len, ret = kernel_sendpage(con->sock, e->page, offset, len, msg_flags); if (ret == -EAGAIN || ret == 0) { cond_resched(); Loading Loading
fs/dlm/lowcomms.c +2 −5 Original line number Diff line number Diff line Loading @@ -1285,7 +1285,6 @@ void dlm_lowcomms_commit_buffer(void *mh) static void send_to_sock(struct connection *con) { int ret = 0; ssize_t(*sendpage) (struct socket *, struct page *, int, size_t, int); const int msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; struct writequeue_entry *e; int len, offset; Loading @@ -1294,8 +1293,6 @@ static void send_to_sock(struct connection *con) if (con->sock == NULL) goto out_connect; sendpage = con->sock->ops->sendpage; spin_lock(&con->writequeue_lock); for (;;) { e = list_entry(con->writequeue.next, struct writequeue_entry, Loading @@ -1310,7 +1307,7 @@ static void send_to_sock(struct connection *con) ret = 0; if (len) { ret = sendpage(con->sock, e->page, offset, len, ret = kernel_sendpage(con->sock, e->page, offset, len, msg_flags); if (ret == -EAGAIN || ret == 0) { cond_resched(); Loading