Rename vfs_stat_entry_ref() to vfs_stat_node_ref() as that's what a dev_t and

ino_t combination really is.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24825 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-04-06 09:18:27 +00:00
parent ea39c6377e
commit fc38019945
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ status_t vfs_get_file_map(struct vnode *vnode, off_t offset, size_t size,
status_t vfs_get_fs_node_from_path(fs_volume *volume, const char *path,
bool kernel, void **_node);
status_t vfs_stat_vnode(struct vnode *vnode, struct stat *stat);
status_t vfs_stat_entry_ref(dev_t device, ino_t inode, struct stat *stat);
status_t vfs_stat_node_ref(dev_t device, ino_t inode, struct stat *stat);
status_t vfs_get_vnode_name(struct vnode *vnode, char *name, size_t nameSize);
status_t vfs_entry_ref_to_path(dev_t device, ino_t inode, const char *leaf,
char *path, size_t pathLength);

View File

@ -118,7 +118,7 @@ class KDiskDeviceManager::DeviceWatcher : public NotificationListener {
ino_t node = event->GetInt64("node", -1);
struct stat st;
if (vfs_stat_entry_ref(device, node, &st) != 0)
if (vfs_stat_node_ref(device, node, &st) != 0)
break;
if (S_ISDIR(st.st_mode)) {

View File

@ -3897,7 +3897,7 @@ vfs_stat_vnode(struct vnode *vnode, struct stat *stat)
status_t
vfs_stat_entry_ref(dev_t device, ino_t inode, struct stat *stat)
vfs_stat_node_ref(dev_t device, ino_t inode, struct stat *stat)
{
struct vnode *vnode;
status_t status = get_vnode(device, inode, &vnode, true, false);