Re: [PATCH] staging/lustre/libcfs: replaced string duplication code with kstrdup

2013-07-13 Thread Dilger, Andreas
On 2013/12/07 1:02 AM, "Dragos Foianu" wrote: >Modified cfs_strdup function to use kstrdup instead of duplicating its >implementation. > >Found using Coccinelle. Thanks for the patch, but in fact this function doesn't appear to be used in the code anymore and could be removed entirely. Seems th

[PATCH] staging/lustre/libcfs: replaced string duplication code with kstrdup

2013-07-12 Thread Dragos Foianu
Modified cfs_strdup function to use kstrdup instead of duplicating its implementation. Found using Coccinelle. Signed-off-by: Dragos Foianu --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/stagin