From: Alexey Dobriyan <adobriyan@gmail.com>
To: ericvh@gmail.com
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: v9fs-vfs-superblock-operations-and-glue.patch added to -mm tree
Date: Mon, 6 Jun 2005 14:35:31 +0400 [thread overview]
Message-ID: <200506061435.32476.adobriyan@gmail.com> (raw)
In-Reply-To: <200506060624.j566OUwN010567@shell0.pdx.osdl.net>
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.
parent reply other threads:[~2005-06-06 10:30 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200506060624.j566OUwN010567@shell0.pdx.osdl.net>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200506061435.32476.adobriyan@gmail.com \
--to=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=ericvh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.