]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ext4: return EROFS if device is r/o and journal replay is needed
authorTheodore Ts'o <tytso@mit.edu>
Sun, 5 Feb 2017 06:26:48 +0000 (01:26 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 5 Feb 2017 06:26:48 +0000 (01:26 -0500)
commit4753d8a24d4588657bc0a4cd66d4e282dff15c8c
treee6547b0b73d596218a8368bd95ec6f93e75d8396
parent97abd7d4b5d9c48ec15c425485f054e1c15e591b
ext4: return EROFS if device is r/o and journal replay is needed

If the file system requires journal recovery, and the device is
read-ony, return EROFS to the mount system call.  This allows xfstests
generic/050 to pass.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c