On Mon, May 21, 2018 at 12:27:23PM +0300, Nikolay Borisov wrote: > Instead of setting "parent" to ref->parent only when dealing with > a shared ref and subsequently performing another check to see > if (parent > 0), check the "node->type" directly and act accordingly. > This makes the code more streamline. No functional changes. > > Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx> 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
