Btrfs: fix a mismerge in btrfs_balance()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 6 Mar 2013 08:57:55 +0000 (01:57 -0700)
committerChris Mason <chris.mason@fusionio.com>
Thu, 7 Mar 2013 03:03:16 +0000 (22:03 -0500)
commit3a01aa7a25274308fe813a6237f678aed901cea3
tree121565712abd2b2d179548ad5dc5a1202a50593a
parent2cc65e3e57d636a159d92945655b1574e47dba63
Btrfs: fix a mismerge in btrfs_balance()

Raid56 merge (merge commit e942f88) had mistakenly removed a call to
__cancel_balance(), which resulted in balance not cleaning up after itself
after a successful finish.  (Cleanup includes switching the state, removing
the balance item and releasing mut_ex_op testnset lock.)  Bring it back.

Reported-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/volumes.c