diff --git a/src/kernel/core/cache/vnode_store.cpp b/src/kernel/core/cache/vnode_store.cpp index 57b2b5f508..649c015aff 100644 --- a/src/kernel/core/cache/vnode_store.cpp +++ b/src/kernel/core/cache/vnode_store.cpp @@ -1,7 +1,7 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + */ #include "vnode_store.h" @@ -122,8 +122,6 @@ vm_create_vnode_store(void *vnode) store->vm.committed_size = 0; store->vnode = vnode; - store->size = 0; - // the file system will maintain this field through the file cache API return &store->vm; } diff --git a/src/kernel/core/cache/vnode_store.h b/src/kernel/core/cache/vnode_store.h index 4fb36ad793..179bc0ba09 100644 --- a/src/kernel/core/cache/vnode_store.h +++ b/src/kernel/core/cache/vnode_store.h @@ -1,7 +1,7 @@ /* -** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ + * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. + * Distributed under the terms of the MIT License. + */ #ifndef VNODE_STORE_H #define VNODE_STORE_H @@ -12,8 +12,6 @@ struct vnode_store { vm_store vm; void *vnode; - off_t size; - // the file system will maintain this field through the file cache API }; #endif /* VNODE_STORE_H */