diff options
Diffstat (limited to 'fs/gfs2/recovery.c')
| -rw-r--r-- | fs/gfs2/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c index 113b6095a58d..9395a3db1a60 100644 --- a/fs/gfs2/recovery.c +++ b/fs/gfs2/recovery.c | |||
| @@ -522,7 +522,7 @@ void gfs2_recover_func(struct work_struct *work) | |||
| 522 | if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) | 522 | if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) |
| 523 | ro = 1; | 523 | ro = 1; |
| 524 | } else { | 524 | } else { |
| 525 | if (sdp->sd_vfs->s_flags & MS_RDONLY) { | 525 | if (sb_rdonly(sdp->sd_vfs)) { |
| 526 | /* check if device itself is read-only */ | 526 | /* check if device itself is read-only */ |
| 527 | ro = bdev_read_only(sdp->sd_vfs->s_bdev); | 527 | ro = bdev_read_only(sdp->sd_vfs->s_bdev); |
| 528 | if (!ro) { | 528 | if (!ro) { |
