summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 5be63c9..457bec7 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1176,6 +1176,8 @@ devfs_fixup(struct thread *td)
vput(vp);
vput(dvp);
+ /* Unlink the no longer needed /dev/dev -> / symlink */
+ kern_unlink(td, "/dev/dev", UIO_SYSSPACE);
}
/*
OpenPOWER on IntegriCloud