forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
pstore/blk: don't depend on CONFIG_BLOCK
pstore-blk contains of two different layers:
a) a tiny layer of sugar coating ontop of pstore-zone. This part has
no dependencies on the block layer, and can be used e.g. by mtd
b) an implementation of a default fallback pstore zone backend for
block devices
Add an ifdef for the latter so that pstore-blk itself does not have to
depend on CONFIG_BLOCK.
Signed-off-by: Christoph Hellwig <hch@lst.de>- Loading branch information
1 parent
796d214
commit a5c145d5f37504bf661cea0d7ac72d45b88ebbcc
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters