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.liu@xxxxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
