aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_log_recover.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 1326e66e34ac..080fabf61c92 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -3884,8 +3884,7 @@ xlog_recover(
3884 * under the vfs layer, so we can get away with it unless 3884 * under the vfs layer, so we can get away with it unless
3885 * the device itself is read-only, in which case we fail. 3885 * the device itself is read-only, in which case we fail.
3886 */ 3886 */
3887 if ((error = xfs_dev_is_read_only(log->l_mp, 3887 if ((error = xfs_dev_is_read_only(log->l_mp, "recovery"))) {
3888 "recovery required"))) {
3889 return error; 3888 return error;
3890 } 3889 }
3891 3890