diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-09 22:46:43 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-09 22:46:43 -0400 |
commit | 0103817eb5b580d769e793c8bef053eb077fa0be (patch) | |
tree | 93b0e44a64f62bfbffd28b741c71a4b1777555d6 | |
parent | f62cfe7101a4ded825fdca31e84daeb4b0d370c8 (diff) |
kernel: vfs_subr: Don't require leading '/'
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/kern/vfs_subr.c | 2 |
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 { |