fuse: call fuse_abort_conn() in dev release
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)
commitccd0a0bd16ff01bb27bacbeb2e0e4983dc299502
tree618dbfdcf8db542c8c2ec4a75a5beaa0e752e7dd
parentf0139aa819dfc8e80f664bd08800fc48233cb94e
fuse: call fuse_abort_conn() in dev release

fuse_abort_conn() does all the work done by fuse_dev_release() and more.
"More" consists of:

end_io_requests(fc);
wake_up_all(&fc->waitq);
kill_fasync(&fc->fasync, SIGIO, POLL_IN);

All of which should be no-op (WARN_ON's added).

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