summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-27 01:30:16 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-08-27 01:30:43 +0200
commitc083a705271a7d5b28e53047c1a57b8c24c072a9 (patch)
treea78ebc1dd08ebef45ac8d738b96b252974f1c2a9
parente34814b27b4a5b80761c166d5827d1c9177fd1fe (diff)
Fix comment on when Mach would try to clear tmpfs data
* tmpfs/node.c (diskfs_get_filemap): Fix comment according to second patch from Sergio Lopez.
-rw-r--r--tmpfs/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpfs/node.c b/tmpfs/node.c
index c127412e..17fe8ce7 100644
--- a/tmpfs/node.c
+++ b/tmpfs/node.c
@@ -505,7 +505,7 @@ diskfs_get_filemap (struct node *np, vm_prot_t prot)
assert_perror (err);
/* XXX we need to keep a reference to the object, or GNU Mach
- could try to terminate it while cleaning object cache */
+ will terminate it when we release the map. */
vm_map (mach_task_self (), &np->dn->u.reg.memref, 4096, 0, 1,
np->dn->u.reg.memobj, 0, 0, VM_PROT_NONE, VM_PROT_NONE,
VM_INHERIT_NONE);