btrfs: make close_fs_devices return void
authorNikolay Borisov <nborisov@suse.com>
Wed, 15 Jul 2020 10:48:48 +0000 (13:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:06:57 +0000 (12:06 +0200)
commit54eed6ae8d8e9df81202da64f0817d8e40d5db0e
tree514fea2734e7e4e40ff55a9f55466bc0042a3831
parent3712ccb7f1cccd9371efdaaac4775aa79bdf5f40
btrfs: make close_fs_devices return void

The return value of this function conveys absolutely no information.
All callers already check the state of fs_devices->opened to decide how
to proceed. So convert the function to returning void. While at it make
btrfs_close_devices also return void.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
fs/btrfs/volumes.h