From c083a705271a7d5b28e53047c1a57b8c24c072a9 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 27 Aug 2010 01:30:16 +0200 Subject: 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. --- tmpfs/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpfs/node.c') 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); -- cgit v1.2.3