Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pstore/zone: cap the maximum device size
Introduce an abritrary 128MiB cap to avoid malloc failures when using a larger block device. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: WeiXiong Liao <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information