mm/oom: tiny fixes during code review

This patch fixes some issues during code review. One is that there
would be a potential failure if path /sys/devices/system/node does not
exist, which might cause oom02/04 fail. The other one is moving
tst_exit() from cleanup() to main(), this should make us get rid of a
compile warning.

Signed-off-by: Caspar Zhang <czhang@redhat.com>
2 files changed