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)
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

diff --cc fs/fuse/dev.c
Simple merge
Simple merge
diff --cc fs/fuse/inode.c
Simple merge