git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] JFS: return correct error when i-node allocation failed
[sfrench/cifs-2.6.git]
/
fs
/
jfs
/
jfs_unicode.c
diff --git
a/fs/jfs/jfs_unicode.c
b/fs/jfs/jfs_unicode.c
index f327decfb1556c5abb146e999bf1bd1cb94b4a6b..0543f7fd436486d489875ee56bbd661539b31dd9 100644
(file)
--- a/
fs/jfs/jfs_unicode.c
+++ b/
fs/jfs/jfs_unicode.c
@@
-124,7
+124,7
@@
int get_UCSname(struct component_name * uniName, struct dentry *dentry)
kmalloc((length + 1) * sizeof(wchar_t), GFP_NOFS);
if (uniName->name == NULL)
- return -ENO
SPC
;
+ return -ENO
MEM
;
uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name,
length, nls_tab);