Skip to content

Clean up ext4's mount option parsing code

Theodore Ts'o linux-ext4 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ext4: move several mount options to standard handling loopfs/ext4/super.c+38 -310 replies
2/4ext4: make mount option parsing loop more logicalfs/ext4/super.c+113 -1170 replies
3/4ext4: print error when argument of inode_readahead_blk is invalidfs/ext4/super.c+4 -50 replies
4/4ext4: check incompatible mount options while mounting ext2/3fs/ext4/super.c+35 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Clean up ext4's mount option parsing code

The first three patches are from a patch series which Jan Kara submitted back in April 2012, forward ported to modern kernels. The last patch addresses the feature which Carlos suggested, but I've implemented it as a flag in the mount options parsing, instead of using the mount option flags. This allows us to disallow features which don't involve setting a mount option flags.

- Ted

Jan Kara (3):
ext4: move several mount options to standard handling loop
ext4: make mount option parsing loop more logical
ext4: print error when argument of inode_readahead_blk is invalid

Theodore Ts'o (1):
ext4: check incompatible mount options while mounting ext2/3

 fs/ext4/super.c | 261 +++++++++++++++++++++++++++++++-------------------------
 1 file changed, 143 insertions(+), 118 deletions(-)
Signature · 1 line
1.7.12.rc0.22.gcdd159b