mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-12 00:43:36 -04:00
kobject: convert main fs kobject to use kobject_create
This also renames fs_subsys to fs_kobj to catch all current users with a build error instead of a build warning which can easily be missed. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
917e865df7
commit
00d2666623
5 changed files with 9 additions and 10 deletions
|
@ -1476,7 +1476,7 @@ extern void drop_collected_mounts(struct vfsmount *);
|
|||
extern int vfs_statfs(struct dentry *, struct kstatfs *);
|
||||
|
||||
/* /sys/fs */
|
||||
extern struct kset fs_subsys;
|
||||
extern struct kobject *fs_kobj;
|
||||
|
||||
#define FLOCK_VERIFY_READ 1
|
||||
#define FLOCK_VERIFY_WRITE 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue