commit | 6ea36ddbd1abfe867f1e874a8312bfd811e5fd2c | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Fri Sep 29 02:01:07 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 29 09:18:20 2006 -0700 |
tree | c70f28e5e644440cfa93dac2effdde9040866e9c | |
parent | d826380b305971ff9825ef005ff039d655542bbb [diff] |
[PATCH] Ban register_filesystem(NULL); Everyone passes valid pointer there. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/fs/filesystems.c b/fs/filesystems.c index 9f10728..e3fa77c 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c
@@ -69,8 +69,6 @@ int res = 0; struct file_system_type ** p; - if (!fs) - return -EINVAL; if (fs->next) return -EBUSY; INIT_LIST_HEAD(&fs->fs_supers);