X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fanon_inodes.c;h=42fcc46e2cca8776216b09dfd0f5d3f4a18ecdeb;hb=fce7fc79c8f7188dfc5eafa1b937bcc3c5a4c2f5;hp=24084732b1d0b264b5c3262796f1ec3dd5fc505f;hpb=c3fda066ded5513d1ccdbdbb449323c0ec669aa1;p=~andy%2Flinux diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 24084732b1d..42fcc46e2cc 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c @@ -177,9 +177,6 @@ static int __init anon_inode_init(void) { int error; - error = register_filesystem(&anon_inode_fs_type); - if (error) - goto err_exit; anon_inode_mnt = kern_mount(&anon_inode_fs_type); if (IS_ERR(anon_inode_mnt)) { error = PTR_ERR(anon_inode_mnt); @@ -189,7 +186,6 @@ static int __init anon_inode_init(void) err_unregister_filesystem: unregister_filesystem(&anon_inode_fs_type); -err_exit: panic(KERN_ERR "anon_inode_init() failed (%d)\n", error); }