Messages in this thread | | | Date | Wed, 5 May 2004 10:55:23 -0300 | From | Marcelo Tosatti <> | Subject | Re: [PATCH] simplify mqueue_inode_info->messages allocation |
| |
On Tue, May 04, 2004 at 06:37:22PM -0700, Chris Wright wrote: > * Chris Wright (chrisw@osdl.org) wrote: > > --- ./ipc/mqueue.c~single_alloc 2004-05-04 15:16:34.000000000 -0700 > > +++ ./ipc/mqueue.c~ 2004-05-04 15:59:25.000000000 -0700 > > Ugh! Andrew pointed out to me that this is crap. Sorry about the added > noise. Here's a patch relative to a file that actually exists.
While we're at it, in do_create:
ret = vfs_create(dir->d_inode, dentry, mode, NULL); if (ret) { kfree(msgs); return ERR_PTR(ret);
The msgs pointer can be NULL. Isnt that going to BUG if so?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |