]> Git Repo - linux.git/commit
pstore/zone: cap the maximum device size
authorChristoph Hellwig <[email protected]>
Fri, 16 Oct 2020 13:20:39 +0000 (15:20 +0200)
committerKees Cook <[email protected]>
Tue, 1 Dec 2020 19:32:55 +0000 (11:32 -0800)
commitcbf82e35031b135928f36e72c6d166e935530b6a
tree7d893bafdff0aca400ced8dcb6eb930442a05f8c
parent3cea11cd5e3b00d91caf0b4730194039b45c5891
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]
fs/pstore/zone.c
This page took 0.051345 seconds and 4 git commands to generate.