diff options
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 168d4984ce89..d93f2c7364cc 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -122,13 +122,18 @@ mempool_t *xfs_ioend_pool; | |||
122 | * in the future, too. | 122 | * in the future, too. |
123 | */ | 123 | */ |
124 | enum { | 124 | enum { |
125 | Opt_barrier, Opt_nobarrier, Opt_inode64, Opt_err | 125 | Opt_barrier, |
126 | Opt_nobarrier, | ||
127 | Opt_inode64, | ||
128 | Opt_inode32, | ||
129 | Opt_err | ||
126 | }; | 130 | }; |
127 | 131 | ||
128 | static const match_table_t tokens = { | 132 | static const match_table_t tokens = { |
129 | {Opt_barrier, "barrier"}, | 133 | {Opt_barrier, "barrier"}, |
130 | {Opt_nobarrier, "nobarrier"}, | 134 | {Opt_nobarrier, "nobarrier"}, |
131 | {Opt_inode64, "inode64"}, | 135 | {Opt_inode64, "inode64"}, |
136 | {Opt_inode32, "inode32"}, | ||
132 | {Opt_err, NULL} | 137 | {Opt_err, NULL} |
133 | }; | 138 | }; |
134 | 139 | ||
@@ -1141,6 +1146,9 @@ xfs_fs_remount( | |||
1141 | case Opt_inode64: | 1146 | case Opt_inode64: |
1142 | mp->m_maxagi = xfs_set_inode64(mp); | 1147 | mp->m_maxagi = xfs_set_inode64(mp); |
1143 | break; | 1148 | break; |
1149 | case Opt_inode32: | ||
1150 | mp->m_maxagi = xfs_set_inode32(mp); | ||
1151 | break; | ||
1144 | default: | 1152 | default: |
1145 | /* | 1153 | /* |
1146 | * Logically we would return an error here to prevent | 1154 | * Logically we would return an error here to prevent |