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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:01 +0000 (21:39 -0800)
commit3f2c7974b7d2fb416ff38da05397df611a844b96
treefba71a1f4e45d6f459d19ae14aeaceabc8f78b63
parentfdacc7f75c90db69156d975a803699728aeb4b11
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