btrfs: disable the device add feature for temp-fsid
authorAnand Jain <anand.jain@oracle.com>
Wed, 4 Oct 2023 15:00:26 +0000 (23:00 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:18 +0000 (16:44 +0200)
commitac6ea6a914ed477902ceed64e988a493b52c6c71
tree02f2896bcdcccca0706deb0e328900f5ba249aa0
parentc47b02c1bddf7c4d56e01bccc99e73ae5309fe07
btrfs: disable the device add feature for temp-fsid

The device addition operation will transform the cloned temp-fsid mounted
device into a multi-device filesystem. Therefore, it is marked as
unsupported.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c