diff options
Diffstat (limited to 'fs/9p/mux.c')
-rw-r--r-- | fs/9p/mux.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/9p/mux.c b/fs/9p/mux.c index 8e8356c1c229..e2ae60adda99 100644 --- a/fs/9p/mux.c +++ b/fs/9p/mux.c | |||
@@ -143,7 +143,7 @@ void v9fs_mux_global_exit(void) | |||
143 | * | 143 | * |
144 | * The current implementation returns sqrt of the number of mounts. | 144 | * The current implementation returns sqrt of the number of mounts. |
145 | */ | 145 | */ |
146 | inline int v9fs_mux_calc_poll_procs(int muxnum) | 146 | static int v9fs_mux_calc_poll_procs(int muxnum) |
147 | { | 147 | { |
148 | int n; | 148 | int n; |
149 | 149 | ||
@@ -384,7 +384,7 @@ v9fs_pollwait(struct file *filp, wait_queue_head_t * wait_address, | |||
384 | /** | 384 | /** |
385 | * v9fs_poll_mux - polls a mux and schedules read or write works if necessary | 385 | * v9fs_poll_mux - polls a mux and schedules read or write works if necessary |
386 | */ | 386 | */ |
387 | static inline void v9fs_poll_mux(struct v9fs_mux_data *m) | 387 | static void v9fs_poll_mux(struct v9fs_mux_data *m) |
388 | { | 388 | { |
389 | int n; | 389 | int n; |
390 | 390 | ||
@@ -762,9 +762,8 @@ static struct v9fs_req *v9fs_send_request(struct v9fs_mux_data *m, | |||
762 | return req; | 762 | return req; |
763 | } | 763 | } |
764 | 764 | ||
765 | static inline void | 765 | static void v9fs_mux_flush_cb(void *a, struct v9fs_fcall *tc, |
766 | v9fs_mux_flush_cb(void *a, struct v9fs_fcall *tc, struct v9fs_fcall *rc, | 766 | struct v9fs_fcall *rc, int err) |
767 | int err) | ||
768 | { | 767 | { |
769 | v9fs_mux_req_callback cb; | 768 | v9fs_mux_req_callback cb; |
770 | int tag; | 769 | int tag; |
@@ -902,6 +901,7 @@ v9fs_mux_rpc(struct v9fs_mux_data *m, struct v9fs_fcall *tc, | |||
902 | return err; | 901 | return err; |
903 | } | 902 | } |
904 | 903 | ||
904 | #if 0 | ||
905 | /** | 905 | /** |
906 | * v9fs_mux_rpcnb - sends 9P request without waiting for response. | 906 | * v9fs_mux_rpcnb - sends 9P request without waiting for response. |
907 | * @m: mux data | 907 | * @m: mux data |
@@ -925,6 +925,7 @@ int v9fs_mux_rpcnb(struct v9fs_mux_data *m, struct v9fs_fcall *tc, | |||
925 | dprintk(DEBUG_MUX, "mux %p tc %p tag %d\n", m, tc, req->tag); | 925 | dprintk(DEBUG_MUX, "mux %p tc %p tag %d\n", m, tc, req->tag); |
926 | return 0; | 926 | return 0; |
927 | } | 927 | } |
928 | #endif /* 0 */ | ||
928 | 929 | ||
929 | /** | 930 | /** |
930 | * v9fs_mux_cancel - cancel all pending requests with error | 931 | * v9fs_mux_cancel - cancel all pending requests with error |