Date: Sun, 19 Jan 2020 21:41:35 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356898 - head/sys/kern Message-ID: <202001192141.00JLfZmq072742@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Sun Jan 19 21:41:34 2020 New Revision: 356898 URL: https://svnweb.freebsd.org/changeset/base/356898 Log: vfs: switch vop_stdunlock to call lockmgr_unlock Since the flags argument is now alawys 0 the new call provides the same behavior. Modified: head/sys/kern/vfs_default.c Modified: head/sys/kern/vfs_default.c ============================================================================== --- head/sys/kern/vfs_default.c Sun Jan 19 21:35:51 2020 (r356897) +++ head/sys/kern/vfs_default.c Sun Jan 19 21:41:34 2020 (r356898) @@ -526,7 +526,7 @@ vop_stdunlock(ap) { struct vnode *vp = ap->a_vp; - return (lockmgr_unlock_fast_path(vp->v_vnlock, 0, NULL)); + return (lockmgr_unlock(vp->v_vnlock)); } /* See above. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001192141.00JLfZmq072742>