Re: [RFC PATCH 22/68] vfs: Convert binderfs to use the new mount API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);
> +	}
> +}
> +




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux