fuse: rework abort
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:59 +0000 (16:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:59 +0000 (16:25 +0200)
Splice fc->pending and fc->processing lists into a common kill list while
holding fc->lock.

By the time we release fc->lock, pending and processing lists are empty and
the io list contains only locked requests.

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