summaryrefslogtreecommitdiffstats
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
parent2adf6da8379b68838aa1002e11efd66916689a9b (diff)
downloadblackbird-op-linux-5a916be1b31de9e833aa764de6faf27bb79f9b83.tar.gz
blackbird-op-linux-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;
OpenPOWER on IntegriCloud