[Cluster-devel] [PATCH] dlm: config: Fix ENOMEM failures in make_cluster()

Christoph Hellwig hch at lst.de
Tue Mar 22 18:24:39 UTC 2016


On Tue, Mar 22, 2016 at 05:36:34PM +0000, Andrew Price wrote:
> Commit 1ae1602de0 "configfs: switch ->default groups to a linked list"
> left the NULL gps pointer behind after removing the kcalloc() call which
> made it non-NULL. It also left the !gps check in place so make_cluster()
> now fails with ENOMEM. Remove the remaining uses of the gps variable to
> fix that.
> 
> Reviewed-by: Bob Peterson <rpeterso at redhat.com>
> Reviewed-by: Andreas Gruenbacher <agruenba at redhat.com>
> Signed-off-by: Andrew Price <anprice at redhat.com>

Oops, sorry.  Thanks for fixing this up!




More information about the Cluster-devel mailing list