svn commit: r183940 - user/netchild/misc/src/sys/netsmb
Alexander Leidinger
netchild at FreeBSD.org
Thu Oct 16 10:35:38 UTC 2008
Author: netchild
Date: Thu Oct 16 10:35:38 2008
New Revision: 183940
URL: http://svn.freebsd.org/changeset/base/183940
Log:
I want a panic when this happens.
Modified:
user/netchild/misc/src/sys/netsmb/smb_conn.c
Modified: user/netchild/misc/src/sys/netsmb/smb_conn.c
==============================================================================
--- user/netchild/misc/src/sys/netsmb/smb_conn.c Thu Oct 16 10:34:38 2008 (r183939)
+++ user/netchild/misc/src/sys/netsmb/smb_conn.c Thu Oct 16 10:35:38 2008 (r183940)
@@ -350,6 +350,7 @@ smb_co_lock(struct smb_connobj *cp, int
if (smb_co_lockstatus(cp, td) == LK_EXCLUSIVE &&
(flags & LK_CANRECURSE) == 0) {
SMBERROR("recursive lock for object %d\n", cp->co_level);
+ panic("rescursive lock for object %p", cp);
return 0;
}
return lockmgr(&cp->co_lock, flags, &cp->co_interlock);
More information about the svn-src-user
mailing list