Commit 67715b20 authored by David Sterba's avatar David Sterba

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: default avatarDavid Sterba <dsterba@suse.com>
parent f93c3997
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/backing-dev.h> #include <linux/backing-dev.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/kobject.h>
#include <trace/events/btrfs.h> #include <trace/events/btrfs.h>
#include <asm/kmap_types.h> #include <asm/kmap_types.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/kobject.h>
#include <linux/bug.h> #include <linux/bug.h>
#include "ctree.h" #include "ctree.h"
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#ifndef BTRFS_SYSFS_H #ifndef BTRFS_SYSFS_H
#define BTRFS_SYSFS_H #define BTRFS_SYSFS_H
#include <linux/kobject.h>
enum btrfs_feature_set { enum btrfs_feature_set {
FEAT_COMPAT, FEAT_COMPAT,
FEAT_COMPAT_RO, FEAT_COMPAT_RO,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment