Skip to content
Commit e884f4f0 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: use q which is already obtained from bdev_get_queue



We have already assigned q from bdev_get_queue() so use it.
And rearrange the code for better view.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 42c61ab6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment