fuse: Freeze client on suspend when request sent to userspace
authorTodd Poynor <toddpoynor@google.com>
Wed, 24 Aug 2011 22:01:30 +0000 (15:01 -0700)
committerTodd Poynor <toddpoynor@google.com>
Thu, 25 Aug 2011 00:02:43 +0000 (17:02 -0700)
commitb44e592cd883d16bb12e9d0fcd31fdb2b17d05c1
tree116a9d452b2a84860514f39a9dd42277d200ec19
parent5cb5fb6fef3fd81b55ddc48010e1b520e8473553
fuse: Freeze client on suspend when request sent to userspace

Suspend attempts can abort when the FUSE daemon is already frozen
and a client is waiting uninterruptibly for a response, causing
freezing of tasks to fail.

Use the freeze-friendly wait API, but disregard other signals.

Change-Id: Icefb7e4bbc718ccb76bf3c04daaa5eeea7e0e63c
Signed-off-by: Todd Poynor <toddpoynor@google.com>
fs/fuse/dev.c