Re: [PATCH 5/6 v2] btrfs: create sprout should rename fsid on the sysfs as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 03, 2014 at 11:36:03AM +0800, Anand Jain wrote:
> Creating sprout will change the fsid of the mounted root.
> do the same on the sysfs as well.
> 
> reproducer:
>  mount /dev/sdb /btrfs (seed disk)
>  btrfs dev add /dev/sdc /btrfs
>  mount -o rw,remount /btrfs
>  btrfs dev del /dev/sdb /btrfs
>  mount /dev/sdb /btrfs
> 
> Error:
> kobject_add_internal failed for fe350492-dc28-4051-a601-e017b17e6145 with -EEXIST, don't try to register things with the same name in the same directory.
> 
> Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxx>
--
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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux