fuse: iqueue locking
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:02 +0000 (16:26 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:26:02 +0000 (16:26 +0200)
commit4ce6081260ea4c1b5bfa8ecca5cbb93eea279ad4
tree1c8d01bc9a3fa65ea584c36d0dcd19faef212345
parentef759258869c63e8df9b886ebaf9451c4bbe6cea
fuse: iqueue locking

Use fiq->waitq.lock for protecting members of struct fuse_iqueue and
FR_PENDING request flag, previously protected by fc->lock.

Following patches will remove fc->lock protection from these members.

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