Removed the vnode_store::size field - it's no longer needed. Instead,

vm_cache::virtual_size is now used by the file cache code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10202 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-23 03:22:35 +00:00
parent 3e5bf45013
commit 3aacbe700a
2 changed files with 6 additions and 10 deletions
+2 -4
View File
@@ -1,6 +1,6 @@
/* /*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved. * Copyright 2004, Axel Dörfler, [email protected].
** Distributed under the terms of the Haiku License. * Distributed under the terms of the MIT License.
*/ */
@@ -122,8 +122,6 @@ vm_create_vnode_store(void *vnode)
store->vm.committed_size = 0; store->vm.committed_size = 0;
store->vnode = vnode; store->vnode = vnode;
store->size = 0;
// the file system will maintain this field through the file cache API
return &store->vm; return &store->vm;
} }
+2 -4
View File
@@ -1,6 +1,6 @@
/* /*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved. * Copyright 2004, Axel Dörfler, [email protected].
** Distributed under the terms of the Haiku License. * Distributed under the terms of the MIT License.
*/ */
#ifndef VNODE_STORE_H #ifndef VNODE_STORE_H
#define VNODE_STORE_H #define VNODE_STORE_H
@@ -12,8 +12,6 @@
struct vnode_store { struct vnode_store {
vm_store vm; vm_store vm;
void *vnode; void *vnode;
off_t size;
// the file system will maintain this field through the file cache API
}; };
#endif /* VNODE_STORE_H */ #endif /* VNODE_STORE_H */