Date: Sat, 05 Jul 2014 02:27:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191593] [fcntl] F_SETLK returns EDEADLK when it shouldn't - only F_SETLKW and waiting should return EDEADLK Message-ID: <bug-191593-8-wCeYuaYRAk@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191593-8@https.bugs.freebsd.org/bugzilla/> References: <bug-191593-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191593 --- Comment #4 from Adrian Chadd <adrian@freebsd.org> --- I'm still verifying it. I've added some printf()s to see what triggers and where. Is it possible that the initial check will succeed but something will sneak in between that check and actually trying to add the lock? The actual sx lock isn't held for the duration of all of that. I admit I'm not familiar at all in this code. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191593-8-wCeYuaYRAk>