From: Christoph Hellwig Date: Tue, 22 Mar 2016 19:24:39 +0100 Subject: [Cluster-devel] [PATCH] dlm: config: Fix ENOMEM failures in make_cluster() In-Reply-To: <1458668194-23627-1-git-send-email-anprice@redhat.com> References: <1458668194-23627-1-git-send-email-anprice@redhat.com> Message-ID: <20160322182437.GB6797@lst.de> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 > Reviewed-by: Andreas Gruenbacher > Signed-off-by: Andrew Price Oops, sorry. Thanks for fixing this up!