]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't set up allocation result twice
authorAlexandre Oliva <lxoliva@fsfla.org>
Mon, 28 Nov 2011 14:36:17 +0000 (12:36 -0200)
committerChris Mason <chris.mason@oracle.com>
Sun, 8 Jan 2012 00:15:14 +0000 (19:15 -0500)
commitc200f5ef9753d830e927b906a8c9d19eed6db827
treeae10e2989f33b45529c2474a5668b5cecc65bf08
parent91e978fcf204517674e260fb77c49fea69c65edf
Btrfs: don't set up allocation result twice

We store the allocation start and length twice in ins, once right
after the other, but with intervening calls that may prevent the
duplicate from being optimized out by the compiler.  Remove one of the
assignments.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c