X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fsysfs%2Fmount.c;h=74168266cd59a1abca9e8039131c0ce46b240980;hb=26808d3f10b1213bbb6e27d441be40e20ab84611;hp=c76c540be3c830c57707d23a95cac5f8b83323a5;hpb=6a84258e5f5bb8b9bd72e06a5837fa6fdacaf5c5;p=powerpc.git diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index c76c540be3..74168266cd 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -92,6 +92,10 @@ int __init sysfs_init(void) if (!sysfs_dir_cachep) goto out; + err = sysfs_inode_init(); + if (err) + goto out_err; + err = register_filesystem(&sysfs_fs_type); if (!err) { sysfs_mount = kern_mount(&sysfs_fs_type);