summaryrefslogtreecommitdiff
path: root/fs/ext4/resize.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-02-05 01:26:48 -0500
committerTheodore Ts'o <tytso@mit.edu>2017-02-05 01:26:48 -0500
commit4753d8a24d4588657bc0a4cd66d4e282dff15c8c (patch)
treee6547b0b73d596218a8368bd95ec6f93e75d8396 /fs/ext4/resize.c
parent97abd7d4b5d9c48ec15c425485f054e1c15e591b (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 'fs/ext4/resize.c')
0 files changed, 0 insertions, 0 deletions