]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: cleanup __btrfs_open_devices() drop head pointer
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:26 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:21 +0000 (18:07 +0200)
commitbd7c16c3f4e92842930eb8167b48f6ceb49d00af
tree1bb2d27c41b195e81a72d29128096c156b9e8fe8
parent4ca46f078d708b696fb6484da23f8936053f5197
btrfs: cleanup __btrfs_open_devices() drop head pointer

__btrfs_open_devices() declares struct list_head *head, however head is
used only once, instead use btrfs_fs_devices::devices directly.

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