diff options
author | 2023-05-31 14:55:14 +0200 | |
---|---|---|
committer | 2023-06-05 10:55:20 -0600 | |
commit | d6545e687271ab27472eebff770f2de6a5f1a464 (patch) | |
tree | 8b8e1b20175ac030bd3918dde3f4ad0d74e45c8d /include/linux/blkdev.h | |
parent | PM: hibernate: factor out a helper to find the resume device (diff) | |
download | wireguard-linux-d6545e687271ab27472eebff770f2de6a5f1a464.tar.xz wireguard-linux-d6545e687271ab27472eebff770f2de6a5f1a464.zip |
PM: hibernate: remove the global snapshot_test variable
Passing call dependent variable in global variables is a huge
antipattern. Fix it up.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230531125535.676098-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions