ext4: use a table-driven handler for mount options
authorTheodore Ts'o <tytso@mit.edu>
Sun, 4 Mar 2012 04:20:47 +0000 (23:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 4 Mar 2012 04:20:47 +0000 (23:20 -0500)
commit26092bf52478d23f872c6531e9e3ea9bde2c66c1
treee32c3dce5d4d82087da6306dc7f4effd3d8c4d31
parent72578c33c4977941a5094f1d7011c8e1f5c43552
ext4: use a table-driven handler for mount options

By using a table-drive approach, we shave about 100 lines of code from
ext4, and make the code a bit more regular and factored out.  This
will also make it possible in a future patch to use this table for
displaying the mount options that were specified in /proc/mounts.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c