Date: Wed, 13 Feb 2008 13:02:12 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/ntfs ntfs_subr.c Message-ID: <200802131302.m1DD2CsR075035@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-02-13 13:02:12 UTC
FreeBSD src repository
Modified files:
sys/fs/ntfs ntfs_subr.c
Log:
Fix a lock leak in the ntfs locking scheme:
When ntfs_ntput() reaches 0 in the refcount the inode lockmgr is not
released and directly destroyed. Fix this by unlocking the lockmgr() even
in the case of zero-refcount.
Reported by: dougb, yar, Scot Hetzel <swhetzel at gmail dot com>
Submitted by: yar
Revision Changes Path
1.45 +1 -1 src/sys/fs/ntfs/ntfs_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802131302.m1DD2CsR075035>
