[dm-devel] dm: fix dax_dev NULL dereference

Dan Williams dan.j.williams at intel.com
Tue Jul 30 21:38:24 UTC 2019


On Tue, Jul 30, 2019 at 12:07 PM Mike Snitzer <snitzer at redhat.com> wrote:
>
> I staged the fix (which I tweaked) here:
> https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-5.3&id=95b9ebb78c4c733f8912a195fbd0bc19960e726e

Thanks for picking this up Mike, but I'd prefer to just teach
dax_synchronous() to return false if the passed in dax_dev is NULL.
Thoughts?




More information about the dm-devel mailing list