From nobody Mon Apr 24 21:32:30 2023 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 4Q4yyl0XPXz47NSY; Mon, 24 Apr 2023 21:32:31 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4yyk6msbz3rHP; Mon, 24 Apr 2023 21:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682371950; 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=3H4+yCT+HuYKLWpGvNsE4z+pu/0Cy0OUxoREyj044oA=; b=M89WtqpBGL/GqPuLs2SR7Xxw2UzHju1g4wmKXDwdqNyk+HYfsI+9sYgD4VX+tptvu5Fxhd 87JU2xkVD5+Of1Wfs9N44vywUa8LAQRcFcu0+Yj4+Gp0zs+6VieUElEKJ1Bto4UM4wORLe Nbz683K/yte0QoIap+dmwjUFV27ZIg9pUlPezV/12DJTIyIndIEYj5khVMPT7CVudJpn5P EKxc+XvBbPRQ+oD7GULCoEYEGsyaCxsS+/LzGk3dAQtgxQq4WG0ucn9xpPCuFuqcD8igCA /znc1OBOq2zTb5m1KSYWKlfD9Z+otXDra79wD76qxaaoIDyRI8nm6R0vdloErQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682371950; 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=3H4+yCT+HuYKLWpGvNsE4z+pu/0Cy0OUxoREyj044oA=; b=npXDQSBrsqFnu5rtrLcPznptWVjv2qJASUneku6QcG0qOu7rc1podI7p+NnH8VL6cjt8Uv LJ71TH0tXQ8JUe86mi+yzcbtyKjT19yvMJyOMbtgcpUBqqc99lPhP2/c8yAvhUo8N9z6OR M2dca3xkUkeQH3e3Aer8PsUtMbIIyIJx89g/wf9hLayMq9CPNdiNte8P71pUyuACMlMhTa F7ZzwZZu/Z457Z2AikIO8Te5ZXsOaLo5xJz0YUPK+hMX61YgnZhKYzYkBP033/blaH11dt FwVpg02jq8HCV1Zz7ABxvRCzMRX0ScvcYcpHdCxSPhr503rJAcnPIlJToLjp+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682371950; a=rsa-sha256; cv=none; b=GX/Oz0CmjsVP7PgIZR/tle8v6SgeJCaFIw8QaZ7pQmJTsbFU8CfvBasQm8UC8Yf49SoalO 46lF4LUl0Qxss7+/v3+EXmNSZko019RqnpN3G2sE4N9B2Y5Zs4cITpRoWl3NE+whAeqZuW wXHmZVCRtD+LP7JZi+PHovXTOiCZHb2MKhY+wFXuYICRN7XmlSWQ+XleU7+czUNWv6Y9TJ Fw29iX24aMsHovfjGTyJi2XairNkHmXEbVPerCU93uHh2w+MUCiL35Qcjn0dRr5ftnfA2q 52uQ7v0s+FeEOaElQhydiYrsLltBb8CsrYJVXoib15te0fHAveOD7Gpb0sjGBA== 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 4Q4yyk5tRnzhYh; Mon, 24 Apr 2023 21:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33OLWUlM060872; Mon, 24 Apr 2023 21:32:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33OLWUOM060871; Mon, 24 Apr 2023 21:32:30 GMT (envelope-from git) Date: Mon, 24 Apr 2023 21:32:30 GMT Message-Id: <202304242132.33OLWUOM060871@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: faec42a3ef60 - main - sys/dirent.h: comment update, 'd_off' is offset of next entry 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/main X-Git-Reftype: branch X-Git-Commit: faec42a3ef60d1c5e80da3e9aa3178ad1e0e7701 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=faec42a3ef60d1c5e80da3e9aa3178ad1e0e7701 commit faec42a3ef60d1c5e80da3e9aa3178ad1e0e7701 Author: Olivier Certner AuthorDate: 2023-04-23 08:05:06 +0000 Commit: Konstantin Belousov CommitDate: 2023-04-24 21:32:10 +0000 sys/dirent.h: comment update, 'd_off' is offset of next entry This is the historical (and still current) behavior, as well as that of NetBSD, OpenBSD, illumos and Linux (getdents()/getdents64()). Reviewed by: kib MFC after: 3 days --- sys/sys/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h index 5bc6cf49afe7..b3c5e00cd9ad 100644 --- a/sys/sys/dirent.h +++ b/sys/sys/dirent.h @@ -65,7 +65,7 @@ typedef __off_t off_t; struct dirent { ino_t d_fileno; /* file number of entry */ - off_t d_off; /* directory offset of entry */ + off_t d_off; /* directory offset of next entry */ __uint16_t d_reclen; /* length of this record */ __uint8_t d_type; /* file type, see below */ __uint8_t d_pad0;