diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-nrele.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/node-nrele.c b/libdiskfs/node-nrele.c index a96d1346..ed418a19 100644 --- a/libdiskfs/node-nrele.c +++ b/libdiskfs/node-nrele.c @@ -40,6 +40,10 @@ diskfs_nrele (struct node *np) { locked = TRUE; pthread_mutex_lock (&np->lock); + /* This is our cue that something akin to "last process closes file" + in the POSIX.1 sense happened, so make sure any pending node time + updates now happen in a timely fashion. */ + diskfs_set_node_times (np); diskfs_lost_hardrefs (np); if (!np->dn_stat.st_nlink) { |