mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
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>
This commit is contained in:
parent
72578c33c4
commit
26092bf524
1 changed files with 234 additions and 336 deletions
586
fs/ext4/super.c
586
fs/ext4/super.c
Loading…
Add table
Add a link
Reference in a new issue