Messages in this thread | | | From | "Rafael J. Wysocki" <> | Date | Tue, 19 May 2020 17:59:15 +0200 | Subject | Re: [PATCH 1/1] hibernate: restrict writes to the snapshot device |
| |
It would be better to paste the patch instead of attaching it.
Anyway, note that the snapshot special device is not the target block device for saving the image, so it would be good to avoid that confusion in the naming.
I.e. I would rename is_hibernate_snapshot_dev() to something like is_hibernate_image_dev() or is_hibernate_resume_dev() (for consistency with the resume= kernel command line parameter name).
Thanks!
| |