On Thu, Nov 21, 2019 at 05:33:31PM +0800, Anand Jain wrote: > In preparation to add btrfs_device::dev_state attribute in > /sys/fs/btrfs/UUID/devices/ But we don't want to add any attributes to that directory, is this some leftover from the previous iterations? > Rename btrfs_sysfs_add_device_link() and btrfs_sysfs_rm_device_link() to > btrfs_sysfs_add_devices_attr() and btrfs_sysfs_remove_devices_attr() as > these functions is going to create more attributes rather than just the > link to the disk. No functional changes. I think the function name matches what it does, it really links the device.
