git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kcore: add _text to KCORE_TEXT
[safe/jmp/linux-2.6]
/
fs
/
nls
/
nls_base.c
diff --git
a/fs/nls/nls_base.c
b/fs/nls/nls_base.c
index
b25c218
..
44a88a9
100644
(file)
--- a/
fs/nls/nls_base.c
+++ b/
fs/nls/nls_base.c
@@
-270,7
+270,8
@@
struct nls_table *load_nls(char *charset)
void unload_nls(struct nls_table *nls)
{
- module_put(nls->owner);
+ if (nls)
+ module_put(nls->owner);
}
static const wchar_t charset2uni[256] = {