Merge master.kernel.org:/home/rmk/linux-2.6-mmc
[powerpc.git] / fs / 9p / mux.h
index d7d8fa1..4994cb1 100644 (file)
@@ -28,6 +28,7 @@
 struct v9fs_rpcreq {
        struct v9fs_fcall *tcall;
        struct v9fs_fcall *rcall;
+       int err;        /* error code if response failed */
 
        /* XXX - could we put scatter/gather buffers here? */
 
@@ -37,3 +38,4 @@ struct v9fs_rpcreq {
 int v9fs_mux_init(struct v9fs_session_info *v9ses, const char *dev_name);
 long v9fs_mux_rpc(struct v9fs_session_info *v9ses,
                  struct v9fs_fcall *tcall, struct v9fs_fcall **rcall);
+void v9fs_mux_cancel_requests(struct v9fs_session_info *v9ses, int err);