Re: [PATCH] fix crash when using XFS on loopback

From: John David Anglin
Date: Sat Jan 04 2014 - 13:55:53 EST

On 4-Jan-14, at 12:45 PM, Mikulas Patocka wrote:

* flush_dcache_page asks for the list of userspace mappings, however that
page->mapping field is reused by the slab subsystem for a different
purpose. This causes the crash.

I'd noticed the other day that the parisc implementation of flush_dcache_page()
should return if "!mapping || mapping != page->mapping" is true. This would
have avoided crash.

John David Anglin dave.anglin@xxxxxxxx

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at