v9fs-vfs-superblock-operations-and-glue.patch added to -mm tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · On Monday 06 June 2005 10:24, [email protected] wrote:
v9fs: VFS superblock operations and glue
fs/9p/v9fs.c new file +4
-0+int +v9fs_session_init (struct v9fs_session_info *v9ses, +const char *dev_name,char *data) +{
fs/9p/v9fs.c
Quoted 10 lines
fs/9p/v9fs.c new file +9
-0+ 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.