]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: fix background request if not connected
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:56 +0000 (16:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:56 +0000 (16:25 +0200)
commitce1bd2ef7ef198279cc32709ec90d5ccb5085dc2
treee69ab7bc5a051a5bb75bb07248d9f89fe1c17751
parent838539b7b449801a8a72e4005a21e4a6f429a40e
fuse: fix background request if not connected

request_end() expects fc->num_background and fc->active_background to have
been incremented, which is not the case in fuse_request_send_nowait()
failure path.  So instead just call the ->end() callback (which is actually
set by all callers).

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