[PATCH 02/30] Use dm_pool_grow_object embeded strlen for 0 delta

[email protected] <[email protected]>
Newsgroups dev.linux.lists.lvm-devel
Message-ID <87vd4q61el.wl%[email protected]>
At Mon, 25 Oct 2010 10:24:09 +0200,
Zdenek Kabelac wrote:
> 
> Use internal strlen for 0
> 
> Signed-off-by: Zdenek Kabelac <[email protected]>

Ack, but I don't think this improves the readablility of the code.  The problem is the extra semantics of zero as the third arg to dm_pool_grow_object() (probably my bad).  Maybe introduce a new pool method dm_pool_grow_string(struct dm_pool *p, const char *str) ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.