]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: refactor duplicate queue teardown operation
authorYuto Ohnuki <ytohnuki@amazon.com>
Mon, 23 Feb 2026 14:03:33 +0000 (14:03 +0000)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 27 Feb 2026 14:16:34 +0000 (15:16 +0100)
commit9587fde0da0365d300ea1c967e63ad3fe09b883e
treef832c03612b97147f514a0ef950ce77ec8839fa9
parent68b69fa0edb241a946cd4c850110990f30705164
fuse: refactor duplicate queue teardown operation

Extract common queue iteration and teardown logic into
fuse_uring_teardown_all_queues() helper function to eliminate code
duplication between fuse_uring_async_stop_queues() and
fuse_uring_stop_queues().

This is a pure refactoring with no functional changes, intended to
improve maintainability.

Signed-off-by: Yuto Ohnuki <ytohnuki@amazon.com>
Reviewed-by: Bernd Schubert <bernd@bsbernd.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev_uring.c