static void vfs_list_remove ( struct vfslist vl,
struct vfsref vr 
) [inline, static]

Remove the VFS reference from the VFS list.

Definition at line 259 of file vfs.h.

00260 {
00261         if (vr->next == NULL) {
00262                 /* Item was the last in the list */
00263                 g_assert(vl->last == vr);
00264                 vl->last = vr->prev;
00265         } else {
00266                 /* There is an item after this one */
00267                 vr->next->prev = vr->prev;
00268         }
00269         if (vr->prev == NULL) {
00270                 /* Item was the first in the list */
00271                 g_assert(vl->first == vr);
00272                 vl->first = vr->next;
00273         } else {
00274                 /* There is an item before this one */
00275                 vr->prev->next = vr->next;
00276         }
00277         vl->items--;
00278 }

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:52 2010 for herrie by  doxygen 1.6.3