From mboxrd@z Thu Jan 1 00:00:00 1970 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 5B32AFC05 for ; Mon, 29 Jan 2024 03:25:24 +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=1706498724; cv=none; b=fFqlWbA/9XqcpjLfo5F1/Ctsb2Vs0mEG9YDYFVWFYqaHh8NeN0tTi7QBrNI6t1gSaBX//zGiilT2QWcc9YvYt33a5yYgmy7Bn5j/yN7ZGcg2Bhtiv7QfV1cQzmGfabV2N9F//NxUh7+Cs894i5raU+/kIhq5pLIS2iuO5qmNObc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706498724; c=relaxed/simple; bh=QkhB5DKLD5FW81o/GzGdGieZ/qaY5YnALLoLZPk7dNc=; h=Message-ID:Date:From:To:Cc:Subject; b=JZ+1QCqVQw7fe3hIhJ/SD64gsatr4bqyGs6d+P6AyQ5Swj9SlNxD9sYZ3nuHsibc5PAdAj7mSGOOFU5Ptbyi64ybI4KfP7ZBVsJqvZjAQ7OYw+I5NxfhhantTTmzj53l/hyonid2hPdsU1n1ndB8wG//4PlGiUJxDTPbxNg9vMM= 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 02597C43601; Mon, 29 Jan 2024 03:25:24 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from ) id 1rUIH6-00000004FqW-3IuT; Sun, 28 Jan 2024 22:25:32 -0500 Message-ID: <20240129032507.290291577@goodmis.org> User-Agent: quilt/0.67 Date: Sun, 28 Jan 2024 22:25:07 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/2] tracing: A couple of updates for 6.8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tracing: Two small fixes for tracefs and eventfs: - Fix register_snapshot_trigger() on allocation error If the snashot fails to allocate, the register_snapshot_trigger() can still return success. If the call to tracing_alloc_snapshot_instance() returned anything but 0, it returned 0, but it should have been returing the error code from that allocation function. - Remove leftover code from tracefs doing a dentry walk on remount. The update_gid() function was called by the tracefs code on remount to update the gid of eventfs, but that is no longer the case, but that code wasn't deleted. Nothing calls it. Remove it. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/urgent Head SHA1: 29142dc92c37d3259a33aef15b03e6ee25b0d188 Linus Torvalds (1): tracefs: remove stale 'update_gid' code Masami Hiramatsu (Google) (1): tracing/trigger: Fix to return error if failed to alloc snapshot ---- fs/tracefs/event_inode.c | 38 ------------------------------------- fs/tracefs/internal.h | 1 - kernel/trace/trace_events_trigger.c | 6 ++++-- 3 files changed, 4 insertions(+), 41 deletions(-)