Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757654Ab1COMlD (ORCPT ); Tue, 15 Mar 2011 08:41:03 -0400 Received: from a.mx.secunet.com ([195.81.216.161]:52836 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757590Ab1COMlB (ORCPT ); Tue, 15 Mar 2011 08:41:01 -0400 Message-ID: <4D7F5E2B.6090805@secunet.com> Date: Tue, 15 Mar 2011 13:40:11 +0100 From: Torsten Hilbrich User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: Anton Altaparmakov CC: LKML , =?ISO-8859-1?Q?Andreas_Bie=DFm?= =?ISO-8859-1?Q?ann?= , Sergey Senozhatsky , Christoph Hellwig , Jens Axboe , Linus Torvalds , linux-fsdevel Subject: Re: [PATCH] fs-writeback: fix NULL pointer dereference in, __mark_inode_dirty References: <4D78AA72.3060202@secunet.com> <4D7F3CD5.9030105@secunet.com> <99773600-FC41-41A9-8544-BF7E09065546@cam.ac.uk> In-Reply-To: <99773600-FC41-41A9-8544-BF7E09065546@cam.ac.uk> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Mar 2011 12:40:59.0354 (UTC) FILETIME=[3C7503A0:01CBE30E] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 800 Lines: 20 On 15.03.2011 13:11, Anton Altaparmakov wrote: > This is already being handled. It is the same as other bug reports, i.e. the fact that sb->s_bdi is made NULL on device removal and if it happens at the wrong time you then get a NULL pointer dereference. > > Jens Axboe just only yesterday posted an initial patch for this. Can you please test it and report back if it does indeed cure the problem? > > The patch can be found here for example: > > https://lkml.org/lkml/2011/3/14/25 > This patch fixes the problem for my test szenario. Torsten -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/