btrfs: factor out sysfs code for sending device uevent
authorDavid Sterba <dsterba@suse.com>
Thu, 1 Aug 2019 16:50:16 +0000 (18:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:07 +0000 (14:59 +0200)
commit5b28692e0c4ffb7266d359f0d54155156cdfe0a2
tree317a0b91c521c47587459e9dac1afbf3a6b2aefa
parentf10152bcc962cae6e78ae4eecfa22270f481c0ff
btrfs: factor out sysfs code for sending device uevent

The device uevent belongs to the sysfs API.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h
fs/btrfs/volumes.c