]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: send, build path string only once in send_hole
authorFilipe Manana <fdmanana@gmail.com>
Mon, 31 Mar 2014 13:52:14 +0000 (14:52 +0100)
committerChris Mason <clm@fb.com>
Mon, 7 Apr 2014 16:08:46 +0000 (09:08 -0700)
commit4d417f76097b4888be8cd362f8ebf4a4769591ea
tree2d90c2a1db76bbaeb6074e4ac9f9c2818fd5e136
parent89380129cc734a33af64c4892ba165564b0e6323
Btrfs: send, build path string only once in send_hole

There's no point building the path string in each iteration of the
send_hole loop, as it produces always the same string.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/send.c