diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2021-07-27 16:17:31 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-08-23 13:19:10 +0200 |
commit | dce2815039061116c41da1db24b9282e6e5e1734 (patch) | |
tree | 7606a139f8de49c09b2e521ae443f4ce7542579f /fs/btrfs/inode.c | |
parent | c853a5783ebe123847886d432354931874367292 (diff) | |
download | linux-dce2815039061116c41da1db24b9282e6e5e1734.tar.bz2 |
btrfs: allocate backref_ctx on stack in find_extent_clone
Instead of using kmalloc() to allocate backref_ctx, allocate backref_ctx
on stack. The size is reasonably small.
sizeof(backref_ctx) = 48
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions