[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1345627444.21476.54.camel@shinybook.infradead.org>
Date: Wed, 22 Aug 2012 10:24:04 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Nathan Zimmer <nzimmer@....com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
adobriyan@...il.com
Subject: Re: [RFC] Move kfree outside pde_unload_lock
On Tue, 2012-08-21 at 15:54 -0500, Nathan Zimmer wrote:
> + if (pdeo) {
> + kfree(pdeo);
> + }
Just make it unconditional. kfree(NULL) is a no-op.
--
dwmw2
Download attachment "smime.p7s" of type "application/x-pkcs7-signature" (6171 bytes)
Powered by blists - more mailing lists