aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-09 22:46:43 -0400
committerIan Moffett <ian@osmora.org>2024-04-09 22:46:43 -0400
commit0103817eb5b580d769e793c8bef053eb077fa0be (patch)
tree93b0e44a64f62bfbffd28b741c71a4b1777555d6 /sys/kern/vfs_subr.c
parentf62cfe7101a4ded825fdca31e84daeb4b0d370c8 (diff)
kernel: vfs_subr: Don't require leading '/'
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index cd16704..63aed75 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -73,8 +73,6 @@ vfs_hash_path(const char *path)
if (strcmp(path, "/") == 0 || !vfs_is_valid_path(path)) {
return -1;
- } else if (*path != '/') {
- return -1;
}
do {