mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [for-linus][PATCH 0/2] tracing: A couple of updates for 6.8
@ 2024-01-29  3:25 Steven Rostedt
  2024-01-29  3:25 ` [for-linus][PATCH 1/2] tracing/trigger: Fix to return error if failed to alloc snapshot Steven Rostedt
  2024-01-29  3:25 ` [for-linus][PATCH 2/2] tracefs: remove stale update_gid code Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2024-01-29  3:25 UTC (permalink / raw)
  To: linux-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-29  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29  3:25 [for-linus][PATCH 0/2] tracing: A couple of updates for 6.8 Steven Rostedt
2024-01-29  3:25 ` [for-linus][PATCH 1/2] tracing/trigger: Fix to return error if failed to alloc snapshot Steven Rostedt
2024-01-29  3:25 ` [for-linus][PATCH 2/2] tracefs: remove stale update_gid code Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®