]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ext4/super.c
ext4: reject journal options for ext2 mounts
authorCarlos Maiolino <cmaiolino@redhat.com>
Wed, 22 Jul 2015 03:57:59 +0000 (23:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Jul 2015 03:57:59 +0000 (23:57 -0400)
commit5ba92bcf0dd63b35a85e90c3016989733b239bb5
tree61a17788ce7bda2f0493c010edba763928206324
parent001e4a8775f6e8ad52a89e0072f09aee47d5d252
ext4: reject journal options for ext2 mounts

There is no reason to allow ext2 filesystems be mounted with journal
mount options. So, this patch adds them to the MOPT_NO_EXT2 mount
options list.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c