commit | c821e7f3daa4d02d6303f4f97a3243ea8a6f9411 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Jun 02 18:35:36 2017 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jun 19 18:26:03 2017 +0200 |
tree | 9a71df1d81adba11439e8496d227592434ae1f29 | |
parent | 9886b1743350db379f7845715e39d0cbe0e0de88 [diff] |
btrfs: pass bytes to btrfs_bio_alloc Most callers of btrfs_bio_alloc convert from bytes to sectors. Hide that in the helper and simplify the logic in the callsers. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>