summaryrefslogtreecommitdiff
path: root/fs/btrfs/sysfs.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-01 19:46:20 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:07 +0200
commit67715b206c397b28b8a41c9ddbdc1776a0e7a25f (patch)
treef618dfc5072036e488209dbd2b4f3b0f90f033d0 /fs/btrfs/sysfs.h
parentf93c39970b1da007b3110fd7c9dd361614922457 (diff)
downloadlwn-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.h2
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,