Re: [PATCH] drop_buffers() shouldn't de-ref page->mapping if its NULL
From: OGAWA Hirofumi
Date: Thu Apr 28 2005 - 11:28:02 EST
Badari Pulavarty <pbadari@xxxxxxxxxx> writes:
> Andrew confirmed that this is a valid case.
>
> I don't understand what you want to do here ? If the mapping is NULL,
> we can't de-ref it. Whats the point in putting a warning and de-refing
> it. Its going to cause NULL pointer de-ref anyway.
I meant your patch + warning. If it is just bh leak, not valid state,
I thought we can notice the leak of bh by warning.
I wanted above things. If it's valid state, of course warning is just
crap.
Sorry for noise.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
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/