diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2017-02-05 01:26:48 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-07-04 11:50:57 +0200 |
| commit | 9e51e88173ee2929a84212a179a21b1f688e49fe (patch) | |
| tree | 7905136b7f44113ca28bcbfa16551486b2dad067 /include/linux | |
| parent | 4d6a58d9be0d491a43c1829e66f7565e59ccbff9 (diff) | |
ext4: return EROFS if device is r/o and journal replay is needed
commit 4753d8a24d4588657bc0a4cd66d4e282dff15c8c upstream.
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
