X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fconfigfs%2Fmount.c;h=b00d962de833a9ad6eb845b67ed4f653cb9f8c9d;hb=5b339915762d30b21995aa7263e74081f2f1110a;hp=ed678529ebb2a8b58fdc86c277e3eea83aca96c9;hpb=11c302c14d8ddc47504bd3b650bc9e8da7c717b7;p=powerpc.git diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index ed678529eb..b00d962de8 100644 --- a/fs/configfs/mount.c +++ b/fs/configfs/mount.c @@ -41,7 +41,7 @@ struct super_block * configfs_sb = NULL; struct kmem_cache *configfs_dir_cachep; static int configfs_mnt_count = 0; -static struct super_operations configfs_ops = { +static const struct super_operations configfs_ops = { .statfs = simple_statfs, .drop_inode = generic_delete_inode, }; @@ -140,7 +140,7 @@ static int __init configfs_init(void) if (!configfs_dir_cachep) goto out; - kset_set_kset_s(&config_subsys, kernel_subsys); + kobj_set_kset_s(&config_subsys, kernel_subsys); err = subsystem_register(&config_subsys); if (err) { kmem_cache_destroy(configfs_dir_cachep);