On Mon, May 26, 2014 at 05:30:24PM +0800, Anand Jain wrote: > From: Anand Jain <anand.j...@oracle.com> > > we would need the device links to be created, > when device is added.
Looks good (plus the btrfs_ prefix mentioned before). Reviewed-by: David Sterba <dste...@suse.cz> I was comparing it to Jeff's patch and I think Anand's version is cleaner because it uses helpers that conveniently wrap the bdev/part_to_dev trickery. There's one difference in btrfs_init_new_device, where the add_membership is called, but both locations look correct to me. -- 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