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:
@@ -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,
|
status_t vfs_get_fs_node_from_path(fs_volume *volume, const char *path,
|
||||||
bool kernel, void **_node);
|
bool kernel, void **_node);
|
||||||
status_t vfs_stat_vnode(struct vnode *vnode, struct stat *stat);
|
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_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,
|
status_t vfs_entry_ref_to_path(dev_t device, ino_t inode, const char *leaf,
|
||||||
char *path, size_t pathLength);
|
char *path, size_t pathLength);
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ class KDiskDeviceManager::DeviceWatcher : public NotificationListener {
|
|||||||
ino_t node = event->GetInt64("node", -1);
|
ino_t node = event->GetInt64("node", -1);
|
||||||
|
|
||||||
struct stat st;
|
struct stat st;
|
||||||
if (vfs_stat_entry_ref(device, node, &st) != 0)
|
if (vfs_stat_node_ref(device, node, &st) != 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (S_ISDIR(st.st_mode)) {
|
if (S_ISDIR(st.st_mode)) {
|
||||||
|
|||||||
@@ -3897,7 +3897,7 @@ vfs_stat_vnode(struct vnode *vnode, struct stat *stat)
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
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;
|
struct vnode *vnode;
|
||||||
status_t status = get_vnode(device, inode, &vnode, true, false);
|
status_t status = get_vnode(device, inode, &vnode, true, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user