diff --git a/src/system/kernel/fs/rootfs.cpp b/src/system/kernel/fs/rootfs.cpp index 046e4dbe14..be321b473b 100644 --- a/src/system/kernel/fs/rootfs.cpp +++ b/src/system/kernel/fs/rootfs.cpp @@ -1022,6 +1022,13 @@ rootfs_read_stat(fs_volume* _volume, fs_vnode* _v, struct stat* stat) } +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 @@ fs_vnode_ops sVnodeOps = { NULL, // fs_access() &rootfs_read_stat, &rootfs_write_stat, + &rootfs_preallocate, /* file */ &rootfs_create,