fuse: fix reserved request wake up
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Oct 2007 06:31:00 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:03 +0000 (08:43 -0700)
commitde5e3dec421c44c999071b8f7e0580ad2ade92ae
treec327562a78335346704c382c5b220b13c9208589
parentf92b99b9dccb61760b345baf40ed37f59b91f8af
fuse: fix reserved request wake up

Use wake_up_all instead of wake_up in put_reserved_req(), otherwise it is
possible that the right task is not woken up.

Also create a separate reserved_req_waitq in addition to the blocked_waitq,
since they fulfill totally separate functions.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dev.c
fs/fuse/fuse_i.h
fs/fuse/inode.c