diff options
Diffstat (limited to 'fs/jfs/jfs_unicode.c')
-rw-r--r-- | fs/jfs/jfs_unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_unicode.c b/fs/jfs/jfs_unicode.c index f327decfb155..0543f7fd4364 100644 --- 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) | |||
124 | kmalloc((length + 1) * sizeof(wchar_t), GFP_NOFS); | 124 | kmalloc((length + 1) * sizeof(wchar_t), GFP_NOFS); |
125 | 125 | ||
126 | if (uniName->name == NULL) | 126 | if (uniName->name == NULL) |
127 | return -ENOSPC; | 127 | return -ENOMEM; |
128 | 128 | ||
129 | uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name, | 129 | uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name, |
130 | length, nls_tab); | 130 | length, nls_tab); |