Re: [PATCH V4 10/13] fs/xfs: Clean up locking in dax invalidate

From: Christoph Hellwig
Date: Fri Feb 21 2020 - 12:45:27 EST


On Thu, Feb 20, 2020 at 04:41:31PM -0800, ira.weiny@xxxxxxxxx wrote:
> From: Ira Weiny <ira.weiny@xxxxxxxxx>
>
> Define a variable to hold the lock flags to ensure that the correct
> locks are returned or released on error.

I don't see how this cleans up anything..