Re: [Cluster-devel] [PATCH] gfs2: add error handling for kmem_cache_zalloc

2018-06-12 Thread Steven Whitehouse
Hi, On 12/06/18 08:24, cgxu...@gmx.com wrote: 在 2018年6月12日,上午11:38,Zhouyang Jia 写道: When kmem_cache_zalloc fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmem_cache_zalloc. Should not fail on this case. Thanks,

Re: [Cluster-devel] [PATCH] gfs2: add error handling for kmem_cache_zalloc

2018-06-12 Thread cgxu...@gmx.com
> 在 2018年6月12日,上午11:38,Zhouyang Jia 写道: > > When kmem_cache_zalloc fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling kmem_cache_zalloc. Should not fail on this case. Thanks, Chengguang. > > Signed-off-by: Zhouyang

Re: [Cluster-devel] [PATCH] gfs2: add error handling for kmem_cache_zalloc

2018-06-12 Thread Andreas Gruenbacher
On 12 June 2018 at 09:24, cgxu...@gmx.com wrote: > >> 在 2018年6月12日,上午11:38,Zhouyang Jia 写道: >> >> When kmem_cache_zalloc fails, the lack of error-handling code may >> cause unexpected results. >> >> This patch adds error-handling code after calling kmem_cache_zalloc. > > Should not fail on this