All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: v9fs-vfs-superblock-operations-and-glue.patch added to -mm tree
       [not found] <200506060624.j566OUwN010567@shell0.pdx.osdl.net>
@ 2005-06-06 10:35 ` Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2005-06-06 10:35 UTC (permalink / raw)
  To: ericvh; +Cc: akpm, linux-kernel

On Monday 06 June 2005 10:24, akpm@osdl.org wrote:
>      v9fs: VFS superblock operations and glue

> --- /dev/null
> +++ 25-akpm/fs/9p/v9fs.c

> +int
> +v9fs_session_init(struct v9fs_session_info *v9ses,
> +		  const char *dev_name, char *data)
> +{

> +	v9ses->transport = kmalloc(sizeof(struct v9fs_transport), GFP_KERNEL);
> +	if (!v9ses->transport) {
> +		eprintk(KERN_WARNING,
> +			"Couldn't allocate string for transport struct\n");
> +		retval = -ENOMEM;
> +		goto SessCleanUp;
> +	}
> +
> +	v9ses->transport = trans_proto;

kmalloc and forget.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-06 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200506060624.j566OUwN010567@shell0.pdx.osdl.net>
2005-06-06 10:35 ` v9fs-vfs-superblock-operations-and-glue.patch added to -mm tree Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.