Skip to content
Commit 4753d8a2 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
parent 97abd7d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment