]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/9p/mux.c
Merge ../linus
[linux-2.6-omap-h63xx.git] / fs / 9p / mux.c
index f4407eb276c7cfa7d350061792b08e0393d4ae3b..8d45ed6688376461f357ca69d6ec6c9abe3c671a 100644 (file)
@@ -712,7 +712,7 @@ static void v9fs_read_work(void *a)
  * v9fs_send_request - send 9P request
  * The function can sleep until the request is scheduled for sending.
  * The function can be interrupted. Return from the function is not
- * a guarantee that the request is sent succesfully. Can return errors
+ * a guarantee that the request is sent successfully. Can return errors
  * that can be retrieved by PTR_ERR macros.
  *
  * @m: mux data
@@ -932,6 +932,8 @@ v9fs_mux_rpc(struct v9fs_mux_data *m, struct v9fs_fcall *tc,
                                        r.rcall || r.err);
                        } while (!r.rcall && !r.err && err==-ERESTARTSYS &&
                                m->trans->status==Connected && !m->err);
+
+                       err = -ERESTARTSYS;
                }
                sigpending = 1;
        }