aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2010-10-27 21:30:05 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-10-27 21:30:05 -0400
commit857ac889cce8a486d47874db4d2f9620e7e9e5de (patch)
tree12401895197d819fcbf2335244d91259f4640aa2 /fs/ext4/ext4.h
parentbfff68738f1cb5c93dab1114634cea02aae9e7ba (diff)
ext4: add interface to advertise ext4 features in sysfs
User-space should have the opportunity to check what features doest ext4 support in each particular copy. This adds easy interface by creating new "features" directory in sys/fs/ext4/. In that directory files advertising feature names can be created. Add lazy_itable_init to the feature list. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 0fe078d368d0..4c5fe37b237d 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1574,6 +1574,11 @@ struct ext4_li_request {
1574 unsigned long lr_timeout; 1574 unsigned long lr_timeout;
1575}; 1575};
1576 1576
1577struct ext4_features {
1578 struct kobject f_kobj;
1579 struct completion f_kobj_unregister;
1580};
1581
1577/* 1582/*
1578 * Function prototypes 1583 * Function prototypes
1579 */ 1584 */