summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_sb.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-03-31 15:10:09 +0200
committerTheodore Ts'o <tytso@mit.edu>2009-03-31 15:10:09 +0200
commit3197ebdb130473a92760100cbfe0d7e671838f48 (patch)
tree7101dc642e91026a65264adb7845ce3561d691fe /fs/ext4/ext4_sb.h
parentext4: Track lifetime disk writes (diff)
downloadlinux-3197ebdb130473a92760100cbfe0d7e671838f48.tar.xz
linux-3197ebdb130473a92760100cbfe0d7e671838f48.zip
ext4: Add sysfs support
Add basic sysfs support so that information about the mounted filesystem and various tuning parameters can be accessed via /sys/fs/ext4/<dev>/*. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_sb.h')
-rw-r--r--fs/ext4/ext4_sb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ext4_sb.h b/fs/ext4/ext4_sb.h
index 50ab1169c378..57b71fefbccf 100644
--- a/fs/ext4/ext4_sb.h
+++ b/fs/ext4/ext4_sb.h
@@ -64,6 +64,8 @@ struct ext4_sb_info {
struct percpu_counter s_dirtyblocks_counter;
struct blockgroup_lock *s_blockgroup_lock;
struct proc_dir_entry *s_proc;
+ struct kobject s_kobj;
+ struct completion s_kobj_unregister;
/* Journaling */
struct inode *s_journal_inode;