X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Ffilesystems.c;h=e3fa77c6ed56dce64e3fe68892022edaa85d0e56;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=9f1072836c8ea5c940c916d8236365a26c78da84;hpb=43bc926fffd92024b46cafaf7350d669ba9ca884;p=linux-2.6.git diff --git a/fs/filesystems.c b/fs/filesystems.c index 9f1072836..e3fa77c6e 100644 --- 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);