Date: Wed, 18 Jan 2012 11:23:46 +0000 (UTC) From: Eygene Ryabinkin <rea@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r230304 - head/sys/fs/nullfs Message-ID: <201201181123.q0IBNk19038061@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rea (ports committer) Date: Wed Jan 18 11:23:46 2012 New Revision: 230304 URL: http://svn.freebsd.org/changeset/base/230304 Log: Subject: NULLFS: properly destroy node hash Use hashdestroy() instead of naive free(). Approved by: kib MFC after: 2 weeks Modified: head/sys/fs/nullfs/null_subr.c Modified: head/sys/fs/nullfs/null_subr.c ============================================================================== --- head/sys/fs/nullfs/null_subr.c Wed Jan 18 08:56:26 2012 (r230303) +++ head/sys/fs/nullfs/null_subr.c Wed Jan 18 11:23:46 2012 (r230304) @@ -90,7 +90,7 @@ nullfs_uninit(vfsp) { mtx_destroy(&null_hashmtx); - free(null_node_hashtbl, M_NULLFSHASH); + hashdestroy(null_node_hashtbl, M_NULLFSHASH, null_node_hash); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201181123.q0IBNk19038061>