]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: incremental send, move allocation until it's needed in orphan_dir_info
authorRobbie Ko <robbieko@synology.com>
Tue, 8 May 2018 10:11:37 +0000 (18:11 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:32 +0000 (18:07 +0200)
commitd103c80887357b35e548dd78e315d52e982f589f
treed0c820fdc66b62d5ecabd1e48cb246880a8d66ab
parentc897ad2762ff1a56b408c4b9646b62229c13590f
btrfs: incremental send, move allocation until it's needed in orphan_dir_info

Move the allocation after the search when it's clear that the new entry
will be added.

Signed-off-by: Robbie Ko <robbieko@synology.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c