> On Oct 13, 2026, at 08:13, Alison Schofield <[email protected]> 
> wrote:
> 
> On Thu, Sep 24, 2026 at 10:50:34AM +0800, Muchun Song wrote:
>> After the DAX configuration locking was converted to rwsems, successful
>> lock acquisition leaves rc set to zero in mapping_store(). Two error
>> paths can return this stale value: an unbound region driver and a
>> misaligned range size. The sysfs write therefore reports success without
>> allocating the requested range.
>> 
>> Return -ENXIO when the region driver is not bound and -EINVAL when the
>> range size is misaligned.
> 
> Reviewed-by: Alison Schofield <[email protected]>

Thanks.

> 
> Will modify subject line upon applying like so:
> dax/bus: Return errors for invalid mapping requests

No problem.

Thanks,
Muchun

Reply via email to