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
+3 -5
View File
@@ -1,7 +1,7 @@
/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
* Copyright 2004, Axel Dörfler, [email protected].
* 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;
}
+3 -5
View File
@@ -1,7 +1,7 @@
/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
* Copyright 2004, Axel Dörfler, [email protected].
* 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 */