From: Anand Jain Date: Tue, 3 Jun 2014 03:36:03 +0000 (+0800) Subject: btrfs: create sprout should rename fsid on the sysfs as well X-Git-Tag: omap-for-v3.17/soc-cleanup~12^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2373f255cacdc1ea4da25e75a5a78949ffd9d66;p=pandora-kernel.git btrfs: create sprout should rename fsid on the sysfs as well 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 Reviewed-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed