[for-linus][PATCH 0/2] tracing: A couple of updates for 6.8

From: Steven Rostedt
Date: Sun Jan 28 2024 - 22:25:33 EST



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(-)