ext3: make barrier options consistent with ext4
authorEric Sandeen <sandeen@redhat.com>
Fri, 30 Apr 2010 16:09:34 +0000 (11:09 -0500)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:41 +0000 (19:30 +0200)
commit0636c73ee7b129f77f577aaaefc8dde057be6d18
tree6cf9dba3119f9ec6fa346572c8a5bd693828bf45
parentdde9588853b1bde542eab247f8838c472806688f
ext3: make barrier options consistent with ext4

ext4 was updated to accept barrier/nobarrier mount options
in addition to the older barrier=0/1.  The barrier story
is complex enough, we should help people by making the options
the same at least, even if the defaults are different.

This patch allows the barrier/nobarrier mount options for ext3,
while keeping nobarrier the default.

It also unconditionally displays barrier status in show_options,
and prints a message at mount time if barriers are not enabled,
just as ext4 does.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Documentation/filesystems/ext3.txt
fs/ext3/super.c