]> 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)
commit17d63f95c9adf01ebc6d6bf660510b2b18cdb7be
tree2d90c2a1db76bbaeb6074e4ac9f9c2818fd5e136
parent159fc8958a7ca1764ae5e35b90924e132bac38db
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