diff options
author | David Sterba <dsterba@suse.com> | 2019-08-01 19:46:20 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:07 +0200 |
commit | 67715b206c397b28b8a41c9ddbdc1776a0e7a25f (patch) | |
tree | f618dfc5072036e488209dbd2b4f3b0f90f033d0 /fs/btrfs/sysfs.h | |
parent | f93c39970b1da007b3110fd7c9dd361614922457 (diff) | |
download | lwn-67715b206c397b28b8a41c9ddbdc1776a0e7a25f.tar.gz lwn-67715b206c397b28b8a41c9ddbdc1776a0e7a25f.zip |
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>
Diffstat (limited to 'fs/btrfs/sysfs.h')
-rw-r--r-- | fs/btrfs/sysfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/sysfs.h b/fs/btrfs/sysfs.h index 4243fcf607b0..611e103c174b 100644 --- a/fs/btrfs/sysfs.h +++ b/fs/btrfs/sysfs.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, |