]> Git Repo - linux.git/commit
pstore/blk: Use the normal block device I/O path
authorKees Cook <[email protected]>
Mon, 14 Jun 2021 19:39:51 +0000 (12:39 -0700)
committerKees Cook <[email protected]>
Wed, 16 Jun 2021 16:26:56 +0000 (09:26 -0700)
commit7bb9557b48fcabaa12750a8775352740def381a8
treec532fe9eb2599c988a907af4139689928eb9133c
parent2a03ddbde1e1268f15de6f15b09f305a33bff4ba
pstore/blk: Use the normal block device I/O path

Stop poking into block layer internals and just open the block device
file an use kernel_read and kernel_write on it. Note that this means
the transformation from name_to_dev_t can't be used anymore when
pstore_blk is loaded as a module: a full filesystem device path name
must be used instead. Additionally removes ":internal:" kerndoc link,
since no such documentation remains.

Co-developed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Documentation/admin-guide/pstore-blk.rst
fs/pstore/blk.c
This page took 0.05905 seconds and 4 git commands to generate.