[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190328144507.GV32590@kadam>
Date: Thu, 28 Mar 2019 17:45:07 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: David Howells <dhowells@...hat.com>
Cc: viro@...iv.linux.org.uk, devel@...verdev.osuosl.org,
Todd Kjos <tkjos@...roid.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Arve Hjønnevåg <arve@...roid.com>,
Joel Fernandes <joel@...lfernandes.org>,
Martijn Coenen <maco@...roid.com>,
Christian Brauner <christian@...uner.io>
Subject: Re: [RFC PATCH 22/68] vfs: Convert binderfs to use the new mount API
On Wed, Mar 27, 2019 at 11:43:20PM +0000, David Howells wrote:
> +static void binderfs_free_fc(struct fs_context *fc)
> +{
> + struct binderfs_info *info = fc->s_fs_info;
> +
> + if (info) {
> + struct ipc_namespace *ipc_ns = fc->s_fs_info;
> + put_ipc_ns(ipc_ns);
I feel like put_ipc_ns(info->ipc_ns) would be more readable.
> + kfree(info);
> + }
> +}
> +
Powered by blists - more mailing lists