]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: separate out input queue
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:01 +0000 (16:26 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:01 +0000 (16:26 +0200)
commit5128aaa564dda69d22658d03ebf235b399f8110a
tree58624ec0777d2a999f94f1e1fb5c9b054aa89218
parent81caafa1bedc8ebf3cbe38dd4c590a0fa9b310d3
fuse: separate out input queue

The input queue contains normal requests (fc->pending), forgets
(fc->forget_*) and interrupts (fc->interrupts).  There's also fc->waitq and
fc->fasync for waking up the readers of the fuse device when a request is
available.

The fc->reqctr is also moved to the input queue (assigned to the request
when the request is added to the input queue.

This patch just rearranges the fields, no functional change.

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