[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111221164245.GA9484@hmsreliant.think-freely.org>
Date: Wed, 21 Dec 2011 11:42:45 -0500
From: Neil Horman <nhorman@...driver.com>
To: Christoph Hellwig <hch@...radead.org>
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 10:30:54AM -0500, Christoph Hellwig wrote:
> 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.
>
>
Ok, after discussing with you and Al on irc, I'm going to rewrite this to not
use the file table.
Neil
--
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