From nobody Fri Jun 17 17:25:02 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 522C68579E9 for ; Fri, 17 Jun 2022 17:25:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LPmBl1C6pz4fq6 for ; Fri, 17 Jun 2022 17:25:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DEC5723C45 for ; Fri, 17 Jun 2022 17:25:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25HHP2xA057035 for ; Fri, 17 Jun 2022 17:25:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25HHP2VR057034 for bugs@FreeBSD.org; Fri, 17 Jun 2022 17:25:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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() Date: Fri, 17 Jun 2022 17:25:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655486703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L4JcEXsCsgT0rRI1u/YDBcOHCnsoyYCt6Za/wWt4Uuc=; b=ryi5ZFPmkhaD4RXqTQ3etGNCTIk/ZIeX720EAX7XXkXNaQjZ4NCDPKu8B+ksFOb9zS4k0a rrI6gCYJW+bAg7tQrHNdJ9/b4k3aNV1qHpCIKSjqUK+ZrDnw6fSdcIR/eZxXKkNjzIZ5mw iulyD1P6EvolHYldoetWmXyRAPnNCjNZtFw0JQS2LLd+zT4qH0lKOPa/F+fRCtW9dcQrO5 BEbGGYednCIA/DSKLZLdoLVOIlOiNd/a+RWs/mX4k2jkJVUHWL7+TDsNrDbubD//L4IW8V JX67vgbjBOpPIvtBWFceqwK1Pd68AWV3dn4LjrWybIq9UFRRyqtdHorFgNt29g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655486703; a=rsa-sha256; cv=none; b=NV7y1UFNVH6xAb2s1k20raRoStN6nls1t61ozlr6Tz9IHQeZ7+6hJYsmTT71cDBSJkk6SK 814L6PO5B+yAPCyqElewPZxPyTb7AmGbRvmFNCk/CySZ7u0sIFnq7vyPF66klIG+Za3kbl 8/LCpJVhjW5QM3iCBtOwpGuKwQGHAus6JWJc19NrJQJk/7mjA7YUk17EWrKe98uAtBB6a2 5brutwtnuOXtOhnJ4bbRG5qrCz2nfNbMxLvPFt31ZV/GHa+3N6G9dhhdmz9fD610SDJwmF TET3NPkpp73xGndYfZFQkUJgLrvbb+nZ/fv+UKXxroDCNpVs1582Hl86ViTHjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264723 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |markj@FreeBSD.org --- Comment #2 from Mark Johnston --- 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.=