From fa23653d48131dc800526f56f6f5b57271aad835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 12 Sep 2008 09:53:58 +0000 Subject: [PATCH] * Improved reported inode number to the be actual index. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27444 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Inode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Inode.cpp b/src/add-ons/kernel/file_systems/bfs/Inode.cpp index cf662e487a..7020199f36 100644 --- a/src/add-ons/kernel/file_systems/bfs/Inode.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Inode.cpp @@ -2613,9 +2613,9 @@ AttributeIterator::GetNext(char* name, size_t* _length, uint32* _type, strncpy(name, item->Name(), B_FILE_NAME_LENGTH); *_type = item->Type(); *_length = item->NameSize(); - *_id = (ino_t)fCurrentSmallData; + *_id = (ino_t)index; - fCurrentSmallData = index; + fCurrentSmallData = index + 1; return B_OK; }