diff options
author | Jeff Mahoney <jeffm@suse.com> | 2017-02-15 16:28:32 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:56 +0100 |
commit | 21e75ffe3cd2c99ca4ea5ecb25dcbeb6a8024c30 (patch) | |
tree | d42f1ab5c842f8b0e2955e6ef9ead2af690c20ff /drivers/nubus | |
parent | 77ab86bf1c64ab282f2230521c7d4d7f69ea3a3f (diff) | |
download | blackbird-op-linux-21e75ffe3cd2c99ca4ea5ecb25dcbeb6a8024c30.tar.gz blackbird-op-linux-21e75ffe3cd2c99ca4ea5ecb25dcbeb6a8024c30.zip |
btrfs: btrfs_truncate_free_space_cache always allocates path
btrfs_truncate_free_space_cache always allocates a btrfs_path structure
but only uses it when the caller passes a block group. Let's move the
allocation and free into the conditional.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions