From nobody Fri Aug 29 03:15:05 2025 X-Original-To: dev-commits-src-all@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 4cCk0T3jYGz65vlJ; Fri, 29 Aug 2025 03:15:05 +0000 (UTC) (envelope-from git@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cCk0T2lXjz3Xnk; Fri, 29 Aug 2025 03:15:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756437305; 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; bh=NVJUDnDQNNkrHqIKmLeIrxdHcDKyacC37n0P4+szLTY=; b=ZRXW8pLzQGL1EAZ/oP+y2d7aZSZzpp/9oCCig7Yc0uj3erdUXqcITFVzqXPZkozUrnD7s9 ezqDac+1Bv5fRP1BBzmXvzUa9wZ5A+p16xAH/5EJZwWKHtpnWRjYWqt9f4xHU/CFXePDIk mgzynX2+PepU9o8PEZsTlHv9Az8cM1GHaSmpNafW3TIzQ7Uj3qUAkl4WntsKqSQ14f+gf9 Aca/jrI59UzFLUrDcAqwut/gELdmAqs5Sbtd0VJlQTKkr1RGY06ceh1Bk3rnWPm4Q0sKd6 BTCR4UgdhrCbYIkFH29TKsCa1WB4EzcnlzEgpyHEusHP+Tp8NGHgDrwB1YIdnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756437305; 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; bh=NVJUDnDQNNkrHqIKmLeIrxdHcDKyacC37n0P4+szLTY=; b=Qtf0Utkl1y2o6DmBZ/pey8Sz1YdHf9QgDra2jG0/EEm3An2l42M8WS/ZSWs1nLZ/6Ozd8W ntxgcG2FKdjapzIPHilGunB/wXly2fw/C5XZcgDI2HNYLbhSK6pHarDrwraMY394TYx0h7 R3UORVzZf2c+YHKVQH+GnR7No1K7b4tBhKeRcxNeksApfb2dOtimYpS/K6tz/M/oE25Duw akPSokg90AnU5rl/4jc2zLNNs0heLsWm1mAYYAaR+FvWcnvqowvIekgzoADxZ/SZRmjfpp sJNK3vtDqMrf7JHYX2BBColGFvGv4kKHIpYtEB4jbwkNlwj1gnszzP4OJMjdbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756437305; a=rsa-sha256; cv=none; b=bLgtYTdsY798ZgJpq/Njy6mOQJo1jvS1kRUuPloT82WrnVHJrb8bf9ZigftQ0xZ/Vo2UTb MztvrqyP9kxx52P5NLIpXi5CXk+PXcgtBoSpbA1pBtgvp/vZHo2icknAnmjs1rJKEfef4p fms5vi+ks3wrWXdwAFuQ4leV165Vg0lRdsAf8Wl1LXJtjdQdwPAu+y1/QqMSLzO7OhE0Ot HzowsKglBfpC9mo8xT891yhmp/1MQEmz6ziIKg5vxGQAo6CBTcUTz01a+R9bsakz9XOQQf OKtyPZTIrfFIuVZVkFaHD+Ahg1rhErBUTU4hORdHHohQ/DurZpC/stU4GYVXDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4cCk0T2KYrz69Y; Fri, 29 Aug 2025 03:15:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 57T3F5i0047813; Fri, 29 Aug 2025 03:15:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57T3F5PQ047810; Fri, 29 Aug 2025 03:15:05 GMT (envelope-from git) Date: Fri, 29 Aug 2025 03:15:05 GMT Message-Id: <202508290315.57T3F5PQ047810@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: f47e963c432f - stable/14 - cd9660: va_rdev should be NODEV for non-special inodes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: f47e963c432f43a3edc62a89ea95a8c44bc0c19a Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f47e963c432f43a3edc62a89ea95a8c44bc0c19a commit f47e963c432f43a3edc62a89ea95a8c44bc0c19a Author: Konstantin Belousov AuthorDate: 2025-08-18 02:45:23 +0000 Commit: Konstantin Belousov CommitDate: 2025-08-28 18:14:23 +0000 cd9660: va_rdev should be NODEV for non-special inodes (cherry picked from commit fba63c09ed0fd21865bfd0ec3b9e0c3840a55dd6) --- sys/fs/cd9660/cd9660_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index 95ca535a225c..4554f844104d 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -194,7 +194,7 @@ cd9660_getattr(struct vop_getattr_args *ap) vap->va_atime = ip->inode.iso_atime; vap->va_mtime = ip->inode.iso_mtime; vap->va_ctime = ip->inode.iso_ctime; - vap->va_rdev = ip->inode.iso_rdev; + vap->va_rdev = VN_ISDEV(vp) ? ip->inode.iso_rdev : NODEV; vap->va_size = (u_quad_t) ip->i_size; if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) {