dlm: don't do pointless NULL check, use kzalloc and fix order of arguments