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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:23:13 +0000 (12:23 -0800)
commit16ae3ca354f5a50f2239a3d2037e2870698a5a76
tree53c3ce2061da8b7d450da10cd70fe2aaa30ed6cd
parenta66187787262dd803174c31c9ca91906c4d5c695
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