mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
btrfs: cleanup kobject.h includes
The kobject should be pulled in via sysfs.h and that needs to include it because it needs various definitions like kobj_attribute or kobject. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f93c39970b
commit
67715b206c
3 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,6 @@
|
|||
#include <linux/backing-dev.h>
|
||||
#include <linux/wait.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/kobject.h>
|
||||
#include <trace/events/btrfs.h>
|
||||
#include <asm/kmap_types.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <linux/slab.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/completion.h>
|
||||
#include <linux/kobject.h>
|
||||
#include <linux/bug.h>
|
||||
|
||||
#include "ctree.h"
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#ifndef BTRFS_SYSFS_H
|
||||
#define BTRFS_SYSFS_H
|
||||
|
||||
#include <linux/kobject.h>
|
||||
|
||||
enum btrfs_feature_set {
|
||||
FEAT_COMPAT,
|
||||
FEAT_COMPAT_RO,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue