]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit602427f22fcc29ef8c0fe7807333818d7c2a53e1
tree3816ed2b40f2f1d3ace14d7290789d458c7c4ed4
parent3cff682cce1048fbfb7f1646c3ed1d1235673755
fuse: rework abort

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