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:
d826380
)
[PATCH] Ban register_filesystem(NULL);
author
Alexey Dobriyan
<adobriyan@gmail.com>
Fri, 29 Sep 2006 09:01:07 +0000
(
02:01
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:20 +0000
(09:18 -0700)
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>
fs/filesystems.c
patch
|
blob
|
history
diff --git
a/fs/filesystems.c
b/fs/filesystems.c
index 9f1072836c8ea5c940c916d8236365a26c78da84..e3fa77c6ed56dce64e3fe68892022edaa85d0e56 100644
(file)
--- a/
fs/filesystems.c
+++ b/
fs/filesystems.c
@@
-69,8
+69,6
@@
int register_filesystem(struct file_system_type * fs)
int res = 0;
struct file_system_type ** p;
- if (!fs)
- return -EINVAL;
if (fs->next)
return -EBUSY;
INIT_LIST_HEAD(&fs->fs_supers);