From nobody Wed Mar 06 16:24:32 2024 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 4Tqd745gFTz5Csfr; Wed, 6 Mar 2024 16:24:32 +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 4Tqd7439Dnz4fc5; Wed, 6 Mar 2024 16:24:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709742272; 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=v2EZ6Px7Nj5CHdNwEl2G93s018USB+QKcmcZ2gG7HCo=; b=CxLfhrlc6gydzoN6L9u4r4/KOEtLAgiBsFcMZZmQ/X2FTdTEP2X5B2jvFkTmhFrfObJCeB TnqeVs7BIQqTb6GXo4Rr/PpFci0COEc7NSEyBb2VWDVRDPMxsSAdKLY8B3O0gwe8Grl+CJ k3gTZ7ZVeNoz5k8qQ3c5SUgqlrfev2uDL8GnqcWwCoAlXZDhv2D5xVDeicDGiFs2aQowmV kIk7bb6qOf633dekVGzY1vj3ixx8o+0ws6nPluOEtHgi18IWMm3+AxmOpPazhFelFnOxT3 Nsyy4gBb1MrUQhmGjFeoux61I5td/4arSmAeb3Z6ReX3c6ShQj6b/NgC0TERZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709742272; a=rsa-sha256; cv=none; b=RvULO7qmPgaZN6beQ3VEExtQBSHIg7fOhVXR9nKYLafXBdcSBWv4b75LT1Bm7Io5QaolEY iFkInRFkBxv5F8GoAmxpViqPlHZ4sqHFr9GCDZ8H8LmCm5jBvVoAdujFnvl5jdxOhgQPQw a2w64VhW80daXzOuHg/INkNsY6BmRe2u85wLx1qia51cp/xtBidxjW7shN1HVmqXhcx2em DHj2Ad38rSd5ok+Q3OrI1IexPgiYzXr1qgPy3aSMjxM+uDY6pCPI5sXikOi4Y3M30GZlGu tuNd7pHy6kpl2YJR0bUiaFilZZ3eIkHiASWNPjRUa2DjH7po22gxGeFhCODv1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709742272; 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=v2EZ6Px7Nj5CHdNwEl2G93s018USB+QKcmcZ2gG7HCo=; b=wOEmIAEqQJsNkP0j6AAQR9FuKOb2jBCEx9YyLxEQ3521hkkgHbmbJmGIpGwKFQBVC45Eg+ hxsKBvWAKZffKxqkbXMMzAb+2CKD+i3RuWZtEK1sgSYfUUfbU97Om0bnYr6jlx5UJnLb+Z 1JhaMZ/j8Awa329kemVc95XD6Yin1y8UInbWn9B/KF7XYz+8tDHf6Jk03SyFxSB/tY2CyG P3f0XQi7gwfZziUIvWW2XDVxTz/U52guQ66MZAMIMIC5aj7cz8mpBnnJdkIgdcH/Jv8+xA Ze/twTBS6v2aNdfeMGkz+zZag9UxtUzfTHAyQn4zBKwT81No0xHbKl4WI8755A== 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 4Tqd742nh1zxdj; Wed, 6 Mar 2024 16:24:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 426GOWTI025167; Wed, 6 Mar 2024 16:24:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 426GOWi7025164; Wed, 6 Mar 2024 16:24:32 GMT (envelope-from git) Date: Wed, 6 Mar 2024 16:24:32 GMT Message-Id: <202403061624.426GOWi7025164@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: e212f0c0666e - main - tarfs: Remove unnecessary hack and obsolete comment. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e212f0c0666e7d3a24dce03b8c88920d14b80e47 Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=e212f0c0666e7d3a24dce03b8c88920d14b80e47 commit e212f0c0666e7d3a24dce03b8c88920d14b80e47 Author: Dag-Erling Smørgrav AuthorDate: 2024-03-06 16:13:57 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2024-03-06 16:13:57 +0000 tarfs: Remove unnecessary hack and obsolete comment. MFC after: 3 days Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44203 --- sys/fs/tarfs/tarfs_vfsops.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sys/fs/tarfs/tarfs_vfsops.c b/sys/fs/tarfs/tarfs_vfsops.c index 05014bf10373..33cc019028e6 100644 --- a/sys/fs/tarfs/tarfs_vfsops.c +++ b/sys/fs/tarfs/tarfs_vfsops.c @@ -881,16 +881,8 @@ tarfs_alloc_mount(struct mount *mp, struct vnode *vp, tmp->vfs = mp; tmp->mtime = mtime; - /* - * XXX The decompression layer passes everything through the - * buffer cache, and the buffer cache wants to know our blocksize, - * but mnt_stat normally isn't populated until after we return, so - * we have to cheat a bit. - */ + /* Initialize I/O layer */ tmp->iosize = 1U << tarfs_ioshift; - mp->mnt_stat.f_iosize = tmp->iosize; - - /* Initialize decompression layer */ error = tarfs_io_init(tmp); if (error != 0) goto bad;