diff options
Diffstat (limited to 'sys/fs/devfs/devfs_vfsops.c')
-rw-r--r-- | sys/fs/devfs/devfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index a904dcd..a0b3403 100644 --- a/sys/fs/devfs/devfs_vfsops.c +++ b/sys/fs/devfs/devfs_vfsops.c @@ -68,7 +68,7 @@ devfs_mount(struct mount *mp, struct thread *td) error = 0; - if (mp->mnt_flag & (MNT_UPDATE | MNT_NODEV)) + if (mp->mnt_flag & (MNT_UPDATE | MNT_NODEV | MNT_ROOTFS)) return (EOPNOTSUPP); MALLOC(fmp, struct devfs_mount *, sizeof(struct devfs_mount), |