]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
pstore: Remove superfluous memory size check
authorMark Salyzyn <salyzyn@android.com>
Tue, 13 Jan 2015 22:32:35 +0000 (14:32 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 16 Jan 2015 23:45:46 +0000 (15:45 -0800)
commitff6bf6e8024f073ecea7dbf5c6afe6bd3872a569
tree19ccfb518f56dafa8124f52c96ccdc195d440065
parentdbaffde76405012778b8815b7721554b1302038e
pstore: Remove superfluous memory size check

All previous checks will fail with error if memory size
is not sufficient to register a zone, so this legacy
check has become redundant.

Signed-off-by: Mark Salyzyn <salyzyn@android.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/ram.c