[Bug 191953] [vfs] [patch] better KASSERT msg in _vn_lock()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 17 22:38:51 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191953

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj at FreeBSD.org

--- Comment #3 from Mark Johnston <markj at FreeBSD.org> ---
I believe the current assertion message is correct. An error from vop_stdlock
indicates that the lock operation could not be completed, for example because
LK_NOWAIT was set in the flags, or the caller specified an interruptible sleep
and a signal was received. In this case, the use of LK_RETRY is incompatible
with other flags.

If the FS provides its own vop_lock implementation, the assertion says that it
must not return an error if LK_RETRY is set.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list