[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.01.0906231950030.3240@localhost.localdomain>
Date: Tue, 23 Jun 2009 19:51:59 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Serge E. Hallyn" <serue@...ibm.com>
cc: Trond Myklebust <Trond.Myklebust@...app.com>,
Al Viro <viro@...IV.linux.org.uk>,
Christoph Hellwig <hch@...radead.org>,
linux-fsdevel@...r.kernel.org, linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] VFS: Add VFS helper functions for setting up private
namespaces
On Tue, 23 Jun 2009, Serge E. Hallyn wrote:
>
> (it keeps bugging me that the order of args to list_add() gets reversed
> as a result, but clearly with both starting out empty it doesn't
> matter..)
.. and the new one is more logical. "list_add()" really adds the first
entry to the list pointed to by the second one. It _works_ the other way
too in this case, as you point out, but now that you mention it, it really
looks like the pre-patch code is "wrong".
Linus
--
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