Re: [PATCH 1/1] fix d_revalidate oopsen on NFS exports

From: David Howells
Date: Wed Nov 30 2011 - 03:55:49 EST


Chris Dunlop <chris@xxxxxxxxxxxx> wrote:

> To avoid other people further wasting their and your time on
> exactly the same thing future, how something like the following
> patch, based on your comment in:
>
> http://article.gmane.org/gmane.linux.nfs/40370
>
> ...and, if that's acceptable, is it worthwhile doing for the
> other file systems which are likewise currently vulnerable when
> abused by broken layered file systems?

Also, this may get fixed by Al's atomic open patches - but obviously it hasn't
been yet...

> Don't oops when abused by broken layered file systems
>
> Signed-off-by: Chris Dunlop <chris@xxxxxxxxxxxx>

Acked-by: David Howells <dhowells@xxxxxxxxxx>

It's also worth printing a message - this *is* a kernel bug of some description
if it happens.

David
--
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/