diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1997-11-12 05:42:33 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1997-11-12 05:42:33 +0000 |
| commit | b1f4a44b03989b5d653f0a738f200d5784808bbc (patch) | |
| tree | e7e8ad8487595b193cff8ede198c1cb9f08fa787 /sys/gnu | |
| parent | e3f8c97942e4c1ee98b4010ef5e5305886862f41 (diff) | |
Notes
Diffstat (limited to 'sys/gnu')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 2 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 7112758d6e0a..1ee52cd30045 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -237,7 +237,7 @@ ext2_mount(mp, path, data, ndp, p) error = ext2_reload(mp, ndp->ni_cnd.cn_cred, p); if (error) return (error); - if (fs->s_rd_only && (mp->mnt_flag & MNT_WANTRDWR)) + if (fs->s_rd_only && (mp->mnt_kern_flag & MNTK_WANTRDWR)) fs->s_rd_only = 0; if (fs->s_rd_only == 0) { /* don't say it's clean */ diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 7112758d6e0a..1ee52cd30045 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -237,7 +237,7 @@ ext2_mount(mp, path, data, ndp, p) error = ext2_reload(mp, ndp->ni_cnd.cn_cred, p); if (error) return (error); - if (fs->s_rd_only && (mp->mnt_flag & MNT_WANTRDWR)) + if (fs->s_rd_only && (mp->mnt_kern_flag & MNTK_WANTRDWR)) fs->s_rd_only = 0; if (fs->s_rd_only == 0) { /* don't say it's clean */ |
