From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Hilbrich Subject: Re: [PATCH] fs-writeback: fix NULL pointer dereference in, __mark_inode_dirty Date: Tue, 15 Mar 2011 13:40:11 +0100 Message-ID: <4D7F5E2B.6090805@secunet.com> References: <4D78AA72.3060202@secunet.com> <4D7F3CD5.9030105@secunet.com> <99773600-FC41-41A9-8544-BF7E09065546@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: LKML , =?ISO-8859-1?Q?Andreas_Bie=DFm?= =?ISO-8859-1?Q?ann?= , Sergey Senozhatsky , Christoph Hellwig , Jens Axboe , Linus Torvalds , linux-fsdevel To: Anton Altaparmakov Return-path: In-Reply-To: <99773600-FC41-41A9-8544-BF7E09065546@cam.ac.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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