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:
Axel Dörfler 2002-09-26 03:52:10 +00:00
parent 0a2bd16f7d
commit f4b41f88a2

View File

@ -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;