[haiku-commits] r39007 - haiku/trunk/src/system/kernel/fs

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 18 Oct 2010 22:26:33 +0200 (CEST)

Author: anevilyak
Date: 2010-10-18 22:26:33 +0200 (Mon, 18 Oct 2010)
New Revision: 39007
Changeset: http://dev.haiku-os.org/changeset/39007

Modified:
   haiku/trunk/src/system/kernel/fs/rootfs.cpp
Log:
Fix build.



Modified: haiku/trunk/src/system/kernel/fs/rootfs.cpp
===================================================================
--- haiku/trunk/src/system/kernel/fs/rootfs.cpp 2010-10-18 18:48:54 UTC (rev 
39006)
+++ haiku/trunk/src/system/kernel/fs/rootfs.cpp 2010-10-18 20:26:33 UTC (rev 
39007)
@@ -1023,6 +1023,13 @@
 
 
 static status_t
+rootfs_preallocate(fs_volume*, fs_vnode*, off_t, off_t)
+{
+       return B_NOT_SUPPORTED;
+}
+
+
+static status_t
 rootfs_write_stat(fs_volume* _volume, fs_vnode* _vnode, const struct stat* 
stat,
        uint32 statMask)
 {
@@ -1174,6 +1181,7 @@
        NULL,   // fs_access()
        &rootfs_read_stat,
        &rootfs_write_stat,
+       &rootfs_preallocate,
 
        /* file */
        &rootfs_create,


Other related posts:

  • » [haiku-commits] r39007 - haiku/trunk/src/system/kernel/fs - anevilyak