Re: [PATCH] fs-writeback: fix NULL pointer dereference in, __mark_inode_dirty

From: Torsten Hilbrich
Date: Tue Mar 15 2011 - 08:41:07 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/