Added a fs_get_vnode_name() call for the file systems.

Fixed a header dependency in sem.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@314 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2002-07-18 20:51:27 +00:00
parent 5213b70b42
commit ba94874630
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#ifndef _SEM_H #ifndef _SEM_H
#define _SEM_H #define _SEM_H
#include <OS.h>
#include <thread.h> #include <thread.h>
#include <stage2.h> #include <stage2.h>

View File

@ -50,6 +50,7 @@ struct fs_calls {
int (*fs_sync)(fs_cookie fs); int (*fs_sync)(fs_cookie fs);
int (*fs_lookup)(fs_cookie fs, fs_vnode dir, const char *name, vnode_id *id); int (*fs_lookup)(fs_cookie fs, fs_vnode dir, const char *name, vnode_id *id);
int (*fs_get_vnode_name)(fs_cookie fs, fs_vnode vnode, char *buffer, size_t bufferSize);
int (*fs_get_vnode)(fs_cookie fs, vnode_id id, fs_vnode *v, bool r); int (*fs_get_vnode)(fs_cookie fs, vnode_id id, fs_vnode *v, bool r);
int (*fs_put_vnode)(fs_cookie fs, fs_vnode v, bool r); int (*fs_put_vnode)(fs_cookie fs, fs_vnode v, bool r);