projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e897a
)
ntfs: forgets to unregister sysctls on register_filesystem() failure
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 17 Mar 2012 22:19:57 +0000
(18:19 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:49 +0000
(21:29 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ntfs/super.c
patch
|
blob
|
history
diff --git
a/fs/ntfs/super.c
b/fs/ntfs/super.c
index 22020d8b1ed20d913e4d658888dc381b6f8b6505..3502a9e8f0a9bc8e106fe6d0f4118402513664c5 100644
(file)
--- a/
fs/ntfs/super.c
+++ b/
fs/ntfs/super.c
@@
-3159,6
+3159,8
@@
static int __init init_ntfs_fs(void)
}
printk(KERN_CRIT "NTFS: Failed to register NTFS filesystem driver!\n");
+ /* Unregister the ntfs sysctls. */
+ ntfs_sysctl(0);
sysctl_err_out:
kmem_cache_destroy(ntfs_big_inode_cache);
big_inode_err_out: