From patchwork Wed Jan 17 14:35:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 19117 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp950572dye; Wed, 17 Jan 2024 06:37:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/FS1hEmeGKw0LsmPF1NpGpBHMUIyI4Eoq39A7tnscw9GR7qTtKCrMw21RELU7Pn7TQQ6J X-Received: by 2002:a19:7709:0:b0:50e:aac2:b883 with SMTP id s9-20020a197709000000b0050eaac2b883mr3719958lfc.4.1705502257027; Wed, 17 Jan 2024 06:37:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705502256; cv=pass; d=google.com; s=arc-20160816; b=iZaz8WgdMAvr6RPc8183Lfrq5DWPb+fdH8yGSjgY6Asi3V47jA3faAbKrp0LPhoJW2 tLCugHAH8QVAPZKYTO48MRFLHtxqxKkm0I4KYhDUlfT9ZffG8/c+5SAD7R1ouC5KllQJ Jocm0hxEU0pINzVKCY3ahUmsYUO/cN+oGnMXIP7iyHb3DlfIlUdX56vFtJWTxJyxVQvl 4K05PVvm1L4/qDzMGOFRA5V4W7q5+yBszJCdDFWJH3BEj+sF2ESV6nW3B7e55D6kaNAO 1+A50L4jNFhB/2yWzvkVRLtKBBeqHhAu90CwFupt2kxhTS5nmiMoGWBnQ84kU3zbZt3G q+9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:subject:cc:to :from:date:user-agent:message-id; bh=CgxbLvn3YI8ga7+5l5VYLCguoG1jj4Q4eClO0tJ+w/A=; fh=mTYg3JJ8i2GBNLFt8qb4bgYwOyk0kmrOzICLbi6qJ1c=; b=tAWPBLnM+x7d0FRo3mpDcmj40BRxGl24PrY/9RayokIgkOehUXEDHE1Sq5EAW8Sf5K qWjm8oI+oJ4AjBV1BTLSrOK9uoFcfkv9lSmwPt2WIsEiorJdedyNZH6k8OVZnaplLeAd jrre+Wll+PUfWGeEXULwM05XrDvGXhBMXt/PLm3Mqd8RviclgPE3OQE5gJ9FZRnx0OwO GsiJ8HAuNrNu0xsrxsqESyyjK2tBoooQFDnEEnbiPmhH/WMigADEOV7NnZ++QXZfhCr4 9Ilk/q+pivffWJRh6XMIYvD8gmwpVMZ4x2Rybzq9IPmAxHwgE3gpmUpuibrNuUs9ryOC Vpfg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-29084-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29084-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l11-20020a17090615cb00b00a2d5ec4ba96si3489535ejd.97.2024.01.17.06.37.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 06:37:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29084-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-29084-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29084-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 84F061F255F9 for ; Wed, 17 Jan 2024 14:37:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6985C21358; Wed, 17 Jan 2024 14:36:55 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD5C613FFF for ; Wed, 17 Jan 2024 14:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705502213; cv=none; b=Lsv4f2pof0iz3u9C0gmc7iKdJCLdNvTXl9a0y3JXbzzG2C+wLSP1gap03ZI8hyYUFRgZxeELyFfrKJu9X6drX0CJe2g2I3eY6ADHKt1LlsFD5UTluBJDdN3D9gqNzM8zyofEAfgTNsLuavnRk1vBmVsYUpi3Ek+0VNgANwbAdds= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705502213; c=relaxed/simple; bh=VP+ewG4i1VGYMK580EkwFjLKkD/0UMqSk2Ya5N5+Uj0=; h=Received:Received:Message-ID:User-Agent:Date:From:To:Cc:Subject; b=FKDmY4xFJQqrIitCJiWPNpBqiUchtEI1CfWXKhm+YiZvncUfREekC6olxcbQdZrvDSO20ls4KJeX1s0ypAKoZPXRlm/IP0EIiwF9gQlP7qfOlwefkB9Zup5St3K+IqHgewR1afm3IdMYOsoUoC/1YDVUsmuOEw8w30ESC4VsosI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76F78C433F1; Wed, 17 Jan 2024 14:36:53 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from ) id 1rQ73S-00000001XXY-271S; Wed, 17 Jan 2024 09:38:10 -0500 Message-ID: <20240117143548.595884070@goodmis.org> User-Agent: quilt/0.67 Date: Wed, 17 Jan 2024 09:35:48 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/3] eventfs: A few more fixes for 6.8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788348734705278143 X-GMAIL-MSGID: 1788348734705278143 More eventfs fixes for 6.8: - Hard-code the inodes for eventfs to the same number for files, and the same number for directories. - Have getdent() not create dentries/inodes in iterate_shared() as now it has hard-coded inode numbers - Use kcalloc() instead of kzalloc() on a list of elements git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/urgent Head SHA1: 1057066009c4325bb1d8430c9274894d0860e7c3 Erick Archer (1): eventfs: Use kcalloc() instead of kzalloc() Steven Rostedt (Google) (2): eventfs: Have the inodes all for files and directories all be the same eventfs: Do not create dentries nor inodes in iterate_shared ---- fs/tracefs/event_inode.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-)