linux-stable/Documentation/fault-injection
Yue Zhao c0ed8b8049 lkdtm: replace ll_rw_block with submit_bh
[ Upstream commit b290df0681 ]

Function ll_rw_block was removed in commit 79f5978420 ("fs/buffer:
remove ll_rw_block() helper"). There is no unified function to sumbit
read or write buffer in block layer for now. Consider similar sematics,
we can choose submit_bh() to replace ll_rw_block() as predefined crash
point. In submit_bh(), it also takes read or write flag as the first
argument and invoke submit_bio() to submit I/O request to block layer.

Fixes: 79f5978420 ("fs/buffer: remove ll_rw_block() helper")
Signed-off-by: Yue Zhao <findns94@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230503162944.3969-1-findns94@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:53 +02:00
..
fault-injection.rst debugfs: fix error when writing negative value to atomic_t debugfs file 2022-12-31 13:31:58 +01:00
index.rst
notifier-error-inject.rst docs: notifier-error-inject: Correct test's name 2022-10-07 10:32:16 -06:00
nvme-fault-injection.rst
provoke-crashes.rst lkdtm: replace ll_rw_block with submit_bh 2023-07-19 16:21:53 +02:00