diff options
Diffstat (limited to 'src/sys/include')
-rw-r--r-- | src/sys/include/os/vfs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sys/include/os/vfs.h b/src/sys/include/os/vfs.h index a46bb18..e08a9f0 100644 --- a/src/sys/include/os/vfs.h +++ b/src/sys/include/os/vfs.h @@ -43,6 +43,17 @@ int vfs_init(void); /* + * Get a VFS file table entry by name + * + * @name: Name of desired entry + * @resp: Result pointer is written here + * + * Returns zero on success, otherwise a less than zero + * value upon failure. + */ +int vfs_by_name(const char *name, struct fs_info **resp); + +/* * Get a VFS file table entry by index. * * @index: Index to desired entry |