From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [patch 4/6] jbd: remove dependency on __GFP_NOFAIL Date: Mon, 23 Aug 2010 12:28:13 -0700 Message-ID: <20100823122813.1ffa3f2e.akpm@linux-foundation.org> References: <20100817095103.GA3557@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David Rientjes , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org To: Jan Kara Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:49115 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753825Ab0HWT2W (ORCPT ); Mon, 23 Aug 2010 15:28:22 -0400 In-Reply-To: <20100817095103.GA3557@quack.suse.cz> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Tue, 17 Aug 2010 11:51:03 +0200 Jan Kara wrote: > On Mon 16-08-10 19:58:01, David Rientjes wrote: > > Removes the dependency on __GFP_NOFAIL by looping indefinitely in the > > caller. > > > > The error handling when kzalloc() returns NULL in start_this_handle() > > was removed since it was unreachable. > Thanks! I've added the patch to my tree. Please unadd it. JBD should be fixed so that it can appropriately handle out-of-memory conditions. Until that time we shouldn't hide its shortcomings with this open-coded equivalent.