read_attr() was broken. We passed a pointer to the node instead of the

cookie.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20299 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-03-02 01:45:58 +00:00
parent 97dd0fe3c8
commit 5a31d77f2c
2 changed files with 2 additions and 1 deletions
@@ -1880,7 +1880,7 @@ Volume::ReadAttr(fs_vnode node, fs_cookie cookie, off_t pos,
request->volume = fUserlandVolume;
request->node = node;
request->attrCookie = node;
request->attrCookie = cookie;
request->pos = pos;
request->size = bufferSize;
@@ -8,6 +8,7 @@
#include <unistd.h>
#include "beos_fs_interface.h"
#include "Debug.h"
#include "kernel_emu.h"