]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: improve handling of conflincting mount options
authorTheodore Ts'o <tytso@mit.edu>
Fri, 19 Aug 2011 23:15:32 +0000 (19:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Aug 2011 23:15:32 +0000 (19:15 -0400)
commit3de8af6bc0e31f52218a47a0c13ceb2f60b6c550
tree6c107f8fed3871f5debe751e1b446afbe080c58e
parentdccaf33fa37a1bc5d651baeb3bfeb6becb86597b
ext4: improve handling of conflincting mount options

If the user explicitly specifies conflicting mount options for
delalloc or dioread_nolock and data=journal, fail the mount, instead
of printing a warning and continuing (since many user's won't look at
dmesg and notice the warning).

Also, print a single warning that data=journal implies that delayed
allocation is not on by default (since it's not supported), and
furthermore that O_DIRECT is not supported.  Improve the text in
Documentation/filesystems/ext4.txt so this is clear there as well.

Similarly, if the dioread_nolock mount option is specified when the
file system block size != PAGE_SIZE, fail the mount instead of
printing a warning message and ignoring the mount option.

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