aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-03-04 19:27:31 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-03-04 19:27:31 -0500
commit5a916be1b31de9e833aa764de6faf27bb79f9b83 (patch)
tree62cf0697a0edef5ab44870cbc81cf07451f232ef /fs/ext4/ext4.h
parentext4: move ext4_show_options() after parse_options() (diff)
downloadlinux-dev-5a916be1b31de9e833aa764de6faf27bb79f9b83.tar.xz
linux-dev-5a916be1b31de9e833aa764de6faf27bb79f9b83.zip
ext4: make ext4_show_options() be table-driven
Consistently show mount options which are the non-default, so that /proc/mounts accurately shows the mount options that would be necessary to mount the file system in its current mode of operation. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index d70b981b85fb..6481e3ca3528 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1143,6 +1143,7 @@ struct ext4_sb_info {
unsigned int s_mount_opt;
unsigned int s_mount_opt2;
unsigned int s_mount_flags;
+ unsigned int s_def_mount_opt;
ext4_fsblk_t s_sb_block;
uid_t s_resuid;
gid_t s_resgid;