commit | c39524e6744284452ef45480d3153bec28960c32 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Aug 14 10:55:49 2013 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Mon Aug 19 10:13:59 2013 -0700 |
tree | 882000ee5c8ed18ce406f803cc8ae039ddd0a227 | |
parent | 08b326d071534fe5f122d8dec373cacb40bc7a7b [diff] |
pstore: d_alloc_name() doesn't return an ERR_PTR d_alloc_name() returns NULL on error. Also I changed the error code from -ENOSPC to -ENOMEM to reflect that we were short on RAM not disk space. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>