]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Fri, 27 Jan 2012 01:20:31 +0000 (17:20 -0800)
commita8af21a212c4e440a8be9c0df939da154462cda6
treeb9cd3800c9dab6d7f2fa1838b734e6c7019c1517
parent7c35f555ab649ba4752b4d3d9fa75f3c3a7f83f7
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>
(cherry picked from commit fc7c1077ceb99c35e5f9d0ce03dc7740565bb2bf)
fs/btrfs/extent-tree.c