* [PATCH] Ban register_filesystem(NULL);
@ 2006-08-25 1:05 Alexey Dobriyan
2006-08-25 14:05 ` Arjan van de Ven
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-08-25 1:05 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-fsdevel, linux-kernel
Everyone passes valid pointer there.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/filesystems.c | 2 --
1 file changed, 2 deletions(-)
--- a/fs/filesystems.c
+++ b/fs/filesystems.c
@@ -69,8 +69,6 @@ int register_filesystem(struct file_syst
int res = 0;
struct file_system_type ** p;
- if (!fs)
- return -EINVAL;
if (fs->next)
return -EBUSY;
INIT_LIST_HEAD(&fs->fs_supers);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-25 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-25 1:05 [PATCH] Ban register_filesystem(NULL); Alexey Dobriyan
2006-08-25 14:05 ` Arjan van de Ven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®