aboutsummaryrefslogtreecommitdiffstats
path: root/fs/isofs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/isofs/inode.c')
-rw-r--r--fs/isofs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
index f1ed935322db..db692f554158 100644
--- a/fs/isofs/inode.c
+++ b/fs/isofs/inode.c
@@ -737,7 +737,7 @@ static int isofs_fill_super(struct super_block *s, void *data, int silent)
737 737
738root_found: 738root_found:
739 /* We don't support read-write mounts */ 739 /* We don't support read-write mounts */
740 if (!(s->s_flags & MS_RDONLY)) { 740 if (!sb_rdonly(s)) {
741 error = -EACCES; 741 error = -EACCES;
742 goto out_freebh; 742 goto out_freebh;
743 } 743 }