diff options
| author | 2020-10-16 15:20:39 +0200 | |
|---|---|---|
| committer | 2020-12-01 11:32:55 -0800 | |
| commit | cbf82e35031b135928f36e72c6d166e935530b6a (patch) | |
| tree | 7d893bafdff0aca400ced8dcb6eb930442a05f8c /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.10-rc2 (diff) | |
| download | linux-dev-cbf82e35031b135928f36e72c6d166e935530b6a.tar.xz linux-dev-cbf82e35031b135928f36e72c6d166e935530b6a.zip | |
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 <hch@lst.de>
Reviewed-by: WeiXiong Liao <gmpy.liaowx@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201016132047.3068029-2-hch@lst.de
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
