Re: [PATCH 11/24] uswsusp: Disable when the kernel is locked down

From: Rafael J. Wysocki
Date: Thu Apr 06 2017 - 16:08:01 EST


On Thu, Apr 6, 2017 at 8:55 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
> Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
>
>> You probably want to disable hibernation altogether in this case.
>
> See patch 10. Does that mean patch 11 is superfluous?

Yes, it does.

You can't open /dev/snapshot if hibernation_available() returns false.

Thanks,
Rafael