Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2022 17:25:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264723] the KERN_LOCKF sysctl returns kl_file_fsid that doesn't match st_dev from stat()
Message-ID:  <bug-264723-227-41pQfEUVbr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264723-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264723-227@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=3D264723

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |markj@FreeBSD.org

--- Comment #2 from Mark Johnston <markj@FreeBSD.org> ---
Seems reasonable to me, but then the name kl_file_fsid should change to
kl_file_dev, IMO.  Or the code should use VOP_GETATTR instead (but this is
probably slower?) and perform the same translation as other consumers.

--=20
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-264723-227-41pQfEUVbr>