]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/btrfs/send.c
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)
commitc715e155c94ba0b3657820d676ec3c7213a5ce81
tree2d90c2a1db76bbaeb6074e4ac9f9c2818fd5e136
parent9a40f1222a372de77344d85d31f8fe0e1c0e60e7
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