Re: [PATCH v2] dax: check return value of dax_radix_entry()

From: Dave Chinner
Date: Wed Mar 02 2016 - 22:49:19 EST


On Wed, Mar 02, 2016 at 10:00:51AM -0700, Ross Zwisler wrote:
> dax_pfn_mkwrite() previously wasn't checking the return value of the call
> to dax_radix_entry(), which was a mistake.
>
> Instead, capture this return value and return the appropriate VM_FAULT_
> value.
>
> Signed-off-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>

Hi Ross,

Can you please cc dax stuff to linux-fsdevel? it is way too easy to
miss stuff like this when lkml is the only list it's sent to?

That said, the change looks good.

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx