diff options
Diffstat (limited to 'fs/9p/mux.c')
| -rw-r--r-- | fs/9p/mux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/9p/mux.c b/fs/9p/mux.c index f4407eb276c7..90a79c784549 100644 --- a/fs/9p/mux.c +++ b/fs/9p/mux.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | * | 23 | * |
| 24 | */ | 24 | */ |
| 25 | 25 | ||
| 26 | #include <linux/config.h> | ||
| 27 | #include <linux/module.h> | 26 | #include <linux/module.h> |
| 28 | #include <linux/errno.h> | 27 | #include <linux/errno.h> |
| 29 | #include <linux/fs.h> | 28 | #include <linux/fs.h> |
| @@ -712,7 +711,7 @@ static void v9fs_read_work(void *a) | |||
| 712 | * v9fs_send_request - send 9P request | 711 | * v9fs_send_request - send 9P request |
| 713 | * The function can sleep until the request is scheduled for sending. | 712 | * The function can sleep until the request is scheduled for sending. |
| 714 | * The function can be interrupted. Return from the function is not | 713 | * The function can be interrupted. Return from the function is not |
| 715 | * a guarantee that the request is sent succesfully. Can return errors | 714 | * a guarantee that the request is sent successfully. Can return errors |
| 716 | * that can be retrieved by PTR_ERR macros. | 715 | * that can be retrieved by PTR_ERR macros. |
| 717 | * | 716 | * |
| 718 | * @m: mux data | 717 | * @m: mux data |
| @@ -932,6 +931,8 @@ v9fs_mux_rpc(struct v9fs_mux_data *m, struct v9fs_fcall *tc, | |||
| 932 | r.rcall || r.err); | 931 | r.rcall || r.err); |
| 933 | } while (!r.rcall && !r.err && err==-ERESTARTSYS && | 932 | } while (!r.rcall && !r.err && err==-ERESTARTSYS && |
| 934 | m->trans->status==Connected && !m->err); | 933 | m->trans->status==Connected && !m->err); |
| 934 | |||
| 935 | err = -ERESTARTSYS; | ||
| 935 | } | 936 | } |
| 936 | sigpending = 1; | 937 | sigpending = 1; |
| 937 | } | 938 | } |
