]> git.baikalelectronics.ru Git - 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)
commit80935bcb5c22cfeb8ff8b42bc403d5159873e99f
tree19ccfb518f56dafa8124f52c96ccdc195d440065
parentd0edddbe4fbb907583e132acc0c9d93b9131e6a9
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