[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111221153054.GA1489@infradead.org>
Date: Wed, 21 Dec 2011 10:30:54 -0500
From: Christoph Hellwig <hch@...radead.org>
To: Neil Horman <nhorman@...driver.com>
Cc: netdev@...r.kernel.org, Thomas Graf <tgraf@...radead.org>,
"David S. Miller" <davem@...emloft.net>,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 2/4] vfs: Export some file manipulation functions
On Wed, Dec 21, 2011 at 09:39:48AM -0500, Neil Horman wrote:
> the networking cgroups can use the fd table of a task to make adjustments to the
> sockets that they own, helping us set owners for various resources. Export
> get_files_struct, put_files_struct and sock_from_file, so we can walk a tasks
> fdarray easily.
No, no one has any business using these lowlevel routines form modules.
Please find a way to do this in core code, or find more highlevel
primitives to export.
And not even Ccing linux-fsdevel on a change like this is one of the few
things I'd consider extremely offensive.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists