From: David Sterba Date: Thu, 1 Aug 2019 17:46:20 +0000 (+0200) Subject: btrfs: cleanup kobject.h includes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67715b206c397b28b8a41c9ddbdc1776a0e7a25f;p=linux.git 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 --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index c40f28f175c8c..fc5031e6fd236 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 9078e377ba7ba..85cf3bfc9f629 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include "ctree.h" diff --git a/fs/btrfs/sysfs.h b/fs/btrfs/sysfs.h index 4243fcf607b01..611e103c174b5 100644 --- a/fs/btrfs/sysfs.h +++ b/fs/btrfs/sysfs.h @@ -3,6 +3,8 @@ #ifndef BTRFS_SYSFS_H #define BTRFS_SYSFS_H +#include + enum btrfs_feature_set { FEAT_COMPAT, FEAT_COMPAT_RO,