Ticket #3432: 3432-dont_expire_vfs_with_open_files.diff
File 3432-dont_expire_vfs_with_open_files.diff, 537 bytes (added by andrew_b, 9 years ago) |
---|
-
lib/vfs/gc.c
diff --git a/lib/vfs/gc.c b/lib/vfs/gc.c index aff52f4..72d9308 100644
a b vfs_expire (gboolean now) 264 264 265 265 for (stamp = stamps; stamp != NULL;) 266 266 { 267 if (now || (timeoutcmp (&stamp->time, &lc_time))) 267 if (now 268 || (timeoutcmp (&stamp->time, &lc_time) != 0 269 && (stamp->v->nothingisopen == NULL 270 || stamp->v->nothingisopen (stamp->id) != 0))) 268 271 { 269 272 st = stamp->next; 270 273 if (stamp->v->free)