From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) (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 E5C84395DAA for ; Wed, 15 Apr 2026 13:49:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776260964; cv=none; b=KD5hTQv0hfD1Y7VPj3aT7p7PlpOP4VtBc8JPSVy7t5qrJc/exWIBHodbwnWcmBpqLGblCDMi5ZfMO1+cDNdE/waT7+jRPI7c3je1K24dKmAKG1b5aMUyDTpt8fkqjmFwXlx80WGx9CMIJ7OAygFpgX/VDXzPxEc7fJtA6uSw7lc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776260964; c=relaxed/simple; bh=ybPNOVvqlui820sCbpxPnUa1XVsfLfxnlXSxGUkyu7s=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=b54i8YFavR4jmoG+4OmB6e4q5P38UU/028/PnAH54CzhN3acIT5+6vi9h3cy7mKvknhf62P2itlbE1GTFhUFHWhO8/oOPv29P0g7dUedutxEHtSsncZhs5aACz5tQ9p1mEUe2zA4HGjV5p9E+hVoNecplwkUcYGyFd53y5tg0eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 7E48BC1C97; Wed, 15 Apr 2026 13:49:15 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf11.hostedemail.com (Postfix) with ESMTPA id 744BB2002D; Wed, 15 Apr 2026 13:49:13 +0000 (UTC) Date: Wed, 15 Apr 2026 09:49:09 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , AnishMulay , David Carlier Subject: [GIT PULL v2] tracefs: Updates for v7.1 Message-ID: <20260415094909.41d948b6@fedora> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.52; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Stat-Signature: amnntutcqozjoxyq8rg3cynm4mr1s4hj X-Rspamd-Server: rspamout01 X-Rspamd-Queue-Id: 744BB2002D X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX1993rpAouXyk9Tp5VsX9rmABpWnZbBtnWg= X-HE-Tag: 1776260953-513757 X-HE-Meta: U2FsdGVkX19GrIqNHK1qFbdzsY5MbKQxsja4MM01Zvs6u4nFDnCrr33IAPhcgQyfST6F73tlAnn6Fl3/f6pGKTgrHod3OyKj0V+CGMldpp1RS6juCY77EC4dpWw0BIkRWyTXqdEiHoLb1htDQJmdgHZ99eJ6jm5Y4pE0pGUKedxZY4FsPRjjYNAHkwMGvkCmkax0L75KXf9AqdoqMhK6rTqG1Dj5rJI88tbeK6ReWA4Tyrs52ZdKn0IaZBu29/m1sdbwqvGm+OsXLuuZvzm668U6reVeM8IBpgfFnfJM5cUq+GxUDGq5JOGfZsr5keBFpC7qe4bzeFxVSUXtGI0CY9BWIqdT12ib Linus, tracefs updates for 7.1: - Simplify error handling with guards() Use guards() to simplify the handling of releasing locks in exit paths. - Use dentry name snapshots instead of allocation Instead of allocating a temp buffer to store the dentry name to use in mkdir() and rmdir() use take_dentry_name_snapshot(). - Fix default permissions not being applied at boot The default permissions for tracefs was 0700 to only allow root having access. But after a change to fix other mount options the update to permissions ignored the defined default and used the system default of 0755. This is a regression and is fixed. Changes since v1: https://lore.kernel.org/all/20260414075753.2a036358@robin/ - Removed unused 'ret' variable in eventfs_iterate() Please pull the latest tracefs-v7.1-v2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git tracefs-v7.1-v2 Tag SHA1: c36d45ffeeebaebebf9da442dfc7873239da93bc Head SHA1: 43cec30c44764c4b1401fdeb48bfd18c3fc7eff8 AnishMulay (1): tracefs: Use dentry name snapshots instead of heap allocation David Carlier (1): tracefs: Fix default permissions not being applied on initial mount Steven Rostedt (2): eventfs: Simplify code using guard()s tracefs: Removed unused 'ret' variable in eventfs_iterate() ---- fs/tracefs/event_inode.c | 98 ++++++++++++++++++------------------------------ fs/tracefs/inode.c | 40 +++++--------------- 2 files changed, 45 insertions(+), 93 deletions(-) ---------------------------