reclaim needs some more work, so don't do anything there for now.

This is good especially for not crashing in unmount, which in turn
would cause unpleasantries without the very latest & greatest kernel
This commit is contained in:
pooka 2006-11-21 02:31:48 +00:00
parent 23d9ba237a
commit 8f2fd4cb28
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ssshfs.c,v 1.1 2006/11/21 00:54:06 pooka Exp $ */ /* $NetBSD: ssshfs.c,v 1.2 2006/11/21 02:31:48 pooka Exp $ */
/* /*
* Copyright (c) 2006 Antti Kantee. All Rights Reserved. * Copyright (c) 2006 Antti Kantee. All Rights Reserved.
@ -569,10 +569,12 @@ ssshfs_reclaim(struct puffs_usermount *pu, void *opc, pid_t pid)
/* XXX */ /* XXX */
#if 0
if (--ssn->refcount == 0) { if (--ssn->refcount == 0) {
free_sftp_dirents(ssn->ents); free_sftp_dirents(ssn->ents);
free(ssn); free(ssn);
} }
#endif
return 0; return 0;
} }