From patchwork Mon Jan 29 03:25:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 19563 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp339498dyb; Sun, 28 Jan 2024 19:27:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8DIBmTugrVVOk9gkqs+0V47hCm/ZdnBtGESSpFOJYqG/eRmTbY7OBrLIoHFoI66O/2iIr X-Received: by 2002:a17:902:bb85:b0:1d7:56c3:75f1 with SMTP id m5-20020a170902bb8500b001d756c375f1mr2576802pls.122.1706498835200; Sun, 28 Jan 2024 19:27:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706498835; cv=pass; d=google.com; s=arc-20160816; b=1KpssbEPhsftyomddL76/m6cXaRXLagDmm6pZLPrK+d5nlSLuobdypEfNJ8PGdw0Eh syme183hXlqCu6bfn6KbgwIgbunPyT1VDyu2tlKPSiZBJIxmgMpg2aZnihJlM/Ht90Wl jCFtMSFyaNpMAxOFLZqUDqN7h5tFWi4x+9Qo31gQOV+Pd0cy47me7/rhyO5uEwUYHYY/ tONupNuF1XHtuMZWnFrxdyJWia3vW/7L6EleK3wj2JEBAG56SN3GJDxxFIw74nmZYLDK BVhRr2ZxRRCi99agscBprwZhYMSK7SYpsibYfjSwh72TSad7QiuUFd5wZ5Jrgo2n54uk boNA== 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=ys7jSjd8S/16ZHpi/0Mi5CO67GHIUp+xO+k/+20wgpk=; fh=mTYg3JJ8i2GBNLFt8qb4bgYwOyk0kmrOzICLbi6qJ1c=; b=qnaNku+4TZ9j3l1H1WoyhLcfrS8B45ICxOWmDStdNzvovxqtzdI+6hb/C1+b4+6vcG 2iGduxq4S8Ls84o0U/sxgk0R9MOALnzHvwgRW6x3YDRMMiyPrcxBDhUZYoYzmaCZcaDf 7JbdIdQ9Dpv6wvlgSIjtdxZlcqGkFqAbsmD5RnuyeMBXNODNQobULXTGxUmr+dgEdUnf mxACmXVWWKzxFU7f2y3FnRrbYllV1WZzfZq6yludBD+g6KdzeZ9EIx0QkKUE/O9hPabk WN5l1iVaMfSxhUtnXF00gm4XxEhfbPCxMMZ8Ok8eOUXX7fIk6Ai7fIOz4WzCJphAv6D/ hdrw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-42122-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42122-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id z5-20020a170903018500b001d71351105esi5054827plg.303.2024.01.28.19.27.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 19:27:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42122-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-42122-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42122-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B20DAB22F6D for ; Mon, 29 Jan 2024 03:26:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8B1D14F98; Mon, 29 Jan 2024 03:25:25 +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 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: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789393722742959088 X-GMAIL-MSGID: 1789393722742959088 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(-)