The private data field in the file_descriptor is now a union to hold different
types of objects (currently fs_mounts, and vnodes). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1190 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0a2bd16f7d
commit
f4b41f88a2
@ -54,7 +54,7 @@ alloc_fd(void)
|
||||
if (descriptor == NULL)
|
||||
return NULL;
|
||||
|
||||
descriptor->vnode = NULL;
|
||||
descriptor->u.vnode = NULL;
|
||||
descriptor->cookie = NULL;
|
||||
descriptor->ref_count = 1;
|
||||
descriptor->open_mode = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user