linux/kernel/power
Christoph Hellwig 05bdb99653 block: replace fmode_t with a block-specific type for block open flags
The only overlap between the block open flags mapped into the fmode_t and
other uses of fmode_t are FMODE_READ and FMODE_WRITE.  Define a new
blk_mode_t instead for use in blkdev_get_by_{dev,path}, ->open and
->ioctl and stop abusing fmode_t.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jack Wang <jinpu.wang@ionos.com>		[rnbd]
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20230608110258.189493-28-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-12 08:04:05 -06:00
..
autosleep.c PM: sleep: fix typos in comments 2021-04-08 19:37:21 +02:00
console.c
energy_model.c PM: EM: fix memory leak with using debugfs_lookup() 2023-02-09 20:36:10 +01:00
hibernate.c block: use the holder as indication for exclusive opens 2023-06-12 08:04:04 -06:00
Kconfig PM: sleep: Remove "select SRCU" 2023-01-20 17:53:07 +01:00
main.c PM: Add sysfs files to represent time spent in hardware sleep state 2023-04-20 19:06:12 +02:00
Makefile PM: sleep: Narrow down -DDEBUG on kernel/power/ files 2022-04-13 16:34:01 +02:00
power.h block: use the holder as indication for exclusive opens 2023-06-12 08:04:04 -06:00
poweroff.c
process.c workqueue: Introduce show_freezable_workqueues 2023-03-23 15:55:38 -10:00
qos.c PM: QoS: Add check to make sure CPU freq is non-negative 2022-07-26 20:48:33 +02:00
snapshot.c PM: hibernate: Complain about memory map mismatches during resume 2022-12-01 19:20:14 +01:00
suspend_test.c PM: suspend: fix return value of __setup handler 2022-03-01 18:55:07 +01:00
suspend.c Scheduler changes for v6.1: 2022-10-10 09:10:28 -07:00
swap.c block: replace fmode_t with a block-specific type for block open flags 2023-06-12 08:04:05 -06:00
user.c freezer: Have {,un}lock_system_sleep() save/restore flags 2022-09-07 21:53:48 +02:00
wakelock.c PM: wakeup: simplify the output logic of pm_show_wakelocks() 2022-01-25 18:27:02 +01:00