OSDN Git Service

btrfs: Remove devid parameter from btrfs_rmap_block
authorNikolay Borisov <nborisov@suse.com>
Fri, 4 May 2018 07:53:05 +0000 (10:53 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:29 +0000 (18:07 +0200)
commit63a9c7b9ceaad9b2d8bd482abd44e2068b828b00
tree56a51ef0be136bed7f0a25675c82e558ecc7d059
parent8b317901da4ab5576d109bf1aed7eb15cbe31d5f
btrfs: Remove devid parameter from btrfs_rmap_block

This function is used in only one place and devid argument is always
passed 0. So just remove it, similarly to how it was removed in the
userspace code.

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/extent-tree.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h