]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move mapping of block for discard to its caller
authorDavid Sterba <dsterba@suse.com>
Thu, 2 Aug 2018 22:36:29 +0000 (00:36 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:44 +0000 (17:01 +0100)
commit099700032a26742003365ab4deaf0464248ad2ca
tree008808e82dc2b5b39b3d1d16da7087d052b915eb
parent0913c43b3c2d9fb31d03856a24cbd9464c0769d7
btrfs: move mapping of block for discard to its caller

There's a simple forwarded call based on the operation that would better
fit the caller btrfs_map_block that's until now a trivial wrapper.

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