Files
kernel_realme_nemo/include/linux
Christoph Hellwig 4977ad33ac block: add a new set_read_only method
[ Upstream commit e00adcadf3af7a8335026d71ab9f0e0a922191ac ]

Add a new method to allow for driver-specific processing when setting or
clearing the block device read-only state.  This allows to replace the
cumbersome and error-prone override of the whole ioctl implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Stable-dep-of: 9674f54e41ff ("md: Don't clear MD_CLOSING when the raid is about to stop")
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f28658bc8a7faa03578dc2588b5b3b56b09575a6)
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2025-12-24 11:17:28 +00:00
..
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2025-12-24 11:16:57 +00:00
2022-08-17 15:18:46 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2022-10-26 13:17:05 +02:00
2025-09-21 09:20:40 +00:00
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2025-12-24 11:17:28 +00:00
2023-10-31 18:44:28 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2023-12-20 15:32:35 +01:00
2021-12-08 08:46:55 +01:00
2025-08-27 18:27:49 +05:30
2021-12-25 18:03:37 +05:30
2020-04-02 16:34:21 +02:00
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-03-03 18:58:56 +01:00
2021-03-03 18:58:56 +01:00
2022-08-25 11:11:25 +02:00
2021-02-07 14:47:41 +01:00
2021-12-25 18:03:37 +05:30
2020-09-09 19:35:54 +02:00
2025-09-21 09:20:40 +00:00
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-07-11 12:48:09 +02:00
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2020-06-16 12:53:13 -07:00
2025-12-24 11:17:06 +00:00
2020-03-20 10:54:12 +01:00
2021-12-25 18:03:37 +05:30
2020-06-05 16:00:11 +08:00
2021-12-25 18:03:37 +05:30
2023-11-28 16:45:44 +00:00
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30
2020-04-02 16:34:36 +02:00
2021-12-25 18:03:37 +05:30
2020-08-01 00:48:35 +08:00
2021-12-25 18:03:37 +05:30
2025-12-24 11:16:57 +00:00
2021-12-25 18:03:37 +05:30
2020-04-02 16:34:36 +02:00
2021-12-14 10:16:55 +01:00
2021-12-25 18:03:37 +05:30
2021-12-25 18:03:37 +05:30