]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: ignore journalled data options on remount if fs has no journal
authorTheodore Ts'o <tytso@mit.edu>
Mon, 7 Nov 2011 15:47:42 +0000 (10:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Nov 2011 15:47:42 +0000 (10:47 -0500)
commit17c84ecf3d7d36cc413d4876e669f14de1fa6773
tree767931920c50055b4416b4554fa2dfac4c579b2a
parent5edc66d8d9806b43fd541f0280020ff179718062
ext4: ignore journalled data options on remount if fs has no journal

This avoids a confusing failure in the init scripts when the
/etc/fstab has data=writeback or data=journal but the file system does
not have a journal.  So check for this case explicitly, and warn the
user that we are ignoring the (pointless, since they have no journal)
data=* mount option.

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