On Fri, Sep 01, 2017 at 04:14:30PM -0600, Liu Bo wrote:
> Both wait_for_commit() and wait_for_writer() are checking the
> condition out of the mutex lock.
> 
> This refactors code a bit to be lock safe.
> 
> Signed-off-by: Liu Bo <bo.li....@oracle.com>

Reviewed-by: David Sterba <dste...@suse.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to