aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/inode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 608db81219a0..d8003be56e05 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -685,8 +685,7 @@ static void fuse_inode_init_once(void *foo, struct kmem_cache *cachep,
685{ 685{
686 struct inode * inode = foo; 686 struct inode * inode = foo;
687 687
688 if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == 688 if (flags & SLAB_CTOR_CONSTRUCTOR)
689 SLAB_CTOR_CONSTRUCTOR)
690 inode_init_once(inode); 689 inode_init_once(inode);
691} 690}
692 691
@@ -731,12 +730,12 @@ static int fuse_sysfs_init(void)
731{ 730{
732 int err; 731 int err;
733 732
734 kset_set_kset_s(&fuse_subsys, fs_subsys); 733 kobj_set_kset_s(&fuse_subsys, fs_subsys);
735 err = subsystem_register(&fuse_subsys); 734 err = subsystem_register(&fuse_subsys);
736 if (err) 735 if (err)
737 goto out_err; 736 goto out_err;
738 737
739 kset_set_kset_s(&connections_subsys, fuse_subsys); 738 kobj_set_kset_s(&connections_subsys, fuse_subsys);
740 err = subsystem_register(&connections_subsys); 739 err = subsystem_register(&connections_subsys);
741 if (err) 740 if (err)
742 goto out_fuse_unregister; 741 goto out_fuse_unregister;