fuse: check conn_error earlier
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:57 +0000 (16:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:57 +0000 (16:25 +0200)
fc->conn_error is set once in FUSE_INIT reply and never cleared.  Check it
in request allocation, there's no sense in doing all the preparation if
sending will surely fail.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
fs/fuse/dev.c

diff --cc fs/fuse/dev.c
Simple merge