Displaying 3 results from an estimated 3 matches for "fs_subsys".
Did you mean:
cs_subsys
2007 Oct 17
0
[PATCH 3/3] sysfs compile fixup
...btrfs_super_release,
};
-static struct kset btrfs_kset = {
- .kobj = {.name = "btrfs"},
-};
+static struct kset btrfs_kset;
int btrfs_sysfs_add_super(struct btrfs_fs_info *fs)
{
@@ -249,6 +247,7 @@ int btrfs_init_sysfs()
int btrfs_init_sysfs()
{
kobj_set_kset_s(&btrfs_kset, fs_subsys);
+ kobject_set_name(&btrfs_kset.kobj, "btrfs");
return kset_register(&btrfs_kset);
}
--
Jens Axboe
2009 Feb 09
1
Compiling fuse-2.7.3glfs10 - Error
...-c
checking kernel source directory... /usr/src/linux-2.6.28.4
checking kernel build directory... /usr/src/linux-2.6.28.4
checking kernel source version... 2.6.28.4-smp
checking if FUSE is configured in the kernel... yes
checking if kernel defines kzalloc function... yes
checking if kernel defines fs_subsys... no
checking whether lookup_instantiate_filp is defined... yes
checking if umount_begin is passed a vfsmount... no
checking if inode has i_blksize field... no
checking if inode has i_private field... yes
checking if inode has i_mutex field ... yes
checking if kernel has mutex.h ... yes
checking i...
2008 Feb 13
2
[PATCH] btrfs: fixes for kobject changes in mainline
...n(&root->kobj_unregister);
}
void btrfs_sysfs_del_super(struct btrfs_fs_info *fs)
{
- kobject_unregister(&fs->super_kobj);
+ kobject_put(&fs->super_kobj);
wait_for_completion(&fs->kobj_unregister);
}
int btrfs_init_sysfs()
{
- kobj_set_kset_s(&btrfs_kset, fs_subsys);
- kobject_set_name(&btrfs_kset.kobj, "btrfs");
- return kset_register(&btrfs_kset);
+ btrfs_kset = kset_create_and_add("btrfs", NULL, fs_kobj);
+ if (!btrfs_kset)
+ return -ENOMEM;
+ return 0;
}
void btrfs_exit_sysfs()
{
- kset_unregister(&btrfs_kset);
+ kset...