git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b326d
)
pstore: d_alloc_name() doesn't return an ERR_PTR
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 14 Aug 2013 17:55:49 +0000
(10:55 -0700)
committer
Tony Luck
<tony.luck@intel.com>
Mon, 19 Aug 2013 17:13:59 +0000
(10:13 -0700)
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>
No differences found