[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150125203115.GJ29656@ZenIV.linux.org.uk>
Date: Sun, 25 Jan 2015 20:31:15 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 3/5 v2] tracing: Automatically mount tracefs on
debugfs/tracing
On Sun, Jan 25, 2015 at 08:27:29PM +0000, Al Viro wrote:
> Turns out that it is better that way (and less prone to abuse). See
> vfs.git#debugfs_automount; some massage on top of 3.19-rc5, the payoff is
> in the last commit.
>
> For your code it's a matter of replacing struct path *path with void *unused
> in trace_automount() and just calling
> debugfs_create_automount("tracing", NULL, trace_automount, NULL);
> to create the sucker. That's it - no games with ->d_op, etc.
... and the total is plus 8 lines. Would be negative, if not for the
kerneldoc comment in there...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists