summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-02-13 14:46:39 +0000
committeralc <alc@FreeBSD.org>2011-02-13 14:46:39 +0000
commit333b3f42778aa1fe4ba3cbb94f4f84383fc7a34b (patch)
tree971fa4a1df308f2f869744222a6a8eae60e77e41 /sys/fs/tmpfs/tmpfs.h
parentbcc3c0c749d76d6ded979ceffea4f85478d1ac48 (diff)
downloadFreeBSD-src-333b3f42778aa1fe4ba3cbb94f4f84383fc7a34b.zip
FreeBSD-src-333b3f42778aa1fe4ba3cbb94f4f84383fc7a34b.tar.gz
Eliminate tn_reg.tn_aobj_pages. Instead, correctly maintain the vm
object's size field. Previously, that field was always zero, even when the object tn_reg.tn_aobj contained numerous pages. Apply style fixes to tmpfs_reg_resize(). In collaboration with: kib
Diffstat (limited to 'sys/fs/tmpfs/tmpfs.h')
-rw-r--r--sys/fs/tmpfs/tmpfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs.h b/sys/fs/tmpfs/tmpfs.h
index b1c4249..e95e3c8 100644
--- a/sys/fs/tmpfs/tmpfs.h
+++ b/sys/fs/tmpfs/tmpfs.h
@@ -283,7 +283,6 @@ struct tmpfs_node {
* issue the required page ins or page outs whenever
* a position within the file is accessed. */
vm_object_t tn_aobj;
- size_t tn_aobj_pages;
}tn_reg;
OpenPOWER on IntegriCloud