Made sources UserlandFS friendly. Can't be used with the fs_shell ATM,

anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-03-28 23:04:31 +00:00
parent 563a8c4749
commit e04bcee997
4 changed files with 5 additions and 5 deletions
@@ -9,7 +9,7 @@
#include <KernelExport.h> #include <KernelExport.h>
#ifdef USER #ifdef USER
# include "myfs.h" //# include "myfs.h"
# include <stdio.h> # include <stdio.h>
#endif #endif
+1 -1
View File
@@ -8,7 +8,7 @@
#include <KernelExport.h> #include <KernelExport.h>
#ifdef USER #ifdef USER
# include "myfs.h" //# include "myfs.h"
# include <stdio.h> # include <stdio.h>
#endif #endif
@@ -11,7 +11,7 @@
#include <util/DoublyLinkedList.h> #include <util/DoublyLinkedList.h>
#ifdef USER #ifdef USER
# include "myfs.h" //# include "myfs.h"
# include <stdio.h> # include <stdio.h>
#endif #endif
@@ -574,7 +574,7 @@ Volume::Identify(int fd, disk_super_block *superBlock)
} }
#ifdef USER #ifdef USER
extern "C" void kill_device_vnodes(dev_t id); //extern "C" void kill_device_vnodes(dev_t id);
// This call is only available in the userland fs_shell // This call is only available in the userland fs_shell
status_t status_t
@@ -672,7 +672,7 @@ Volume::Initialize(const char *device, const char *name, uint32 blockSize, uint3
if (fIndicesNode != NULL) if (fIndicesNode != NULL)
put_vnode(ID(), fIndicesNode->ID()); put_vnode(ID(), fIndicesNode->ID());
kill_device_vnodes(ID()); // kill_device_vnodes(ID());
// This call is only available in the userland fs_shell // This call is only available in the userland fs_shell
Sync(); Sync();