diff options
author | Theodore Ts'o <tytso@mit.edu> | 2017-02-05 01:26:48 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-02-05 01:26:48 -0500 |
commit | 4753d8a24d4588657bc0a4cd66d4e282dff15c8c (patch) | |
tree | e6547b0b73d596218a8368bd95ec6f93e75d8396 /ipc/ipc_sysctl.c | |
parent | 97abd7d4b5d9c48ec15c425485f054e1c15e591b (diff) |
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
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions