fstat() now fills in the inode number as well.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7993 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-06-15 17:01:45 +00:00
parent a1b4720e1a
commit 082a2195f0
+8
View File
@@ -113,6 +113,13 @@ Node::Size() const
}
ino_t
Node::Inode() const
{
return 0;
}
status_t
Node::Acquire()
{
@@ -247,6 +254,7 @@ Descriptor::Stat(struct stat &stat)
{
stat.st_mode = fNode->Type();
stat.st_size = fNode->Size();
stat.st_ino = fNode->Inode();
return B_OK;
}