From: Miklos Szeredi Handle the case when the INIT request is answered with an error. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton --- fs/fuse/dev.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fuse/dev.c~fuse-handle-error-init-reply fs/fuse/dev.c --- 25/fs/fuse/dev.c~fuse-handle-error-init-reply Fri Jan 13 17:35:39 2006 +++ 25-akpm/fs/fuse/dev.c Fri Jan 13 17:35:39 2006 @@ -153,7 +153,7 @@ static void process_init_reply(struct fu int i; struct fuse_init_out *arg = &req->misc.init_out; - if (arg->major != FUSE_KERNEL_VERSION) + if (req->out.h.error || arg->major != FUSE_KERNEL_VERSION) fc->conn_error = 1; else { fc->minor = arg->minor; _