Btrfs: cleanup for btrfs_btree_balance_dirty
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 14 Nov 2012 14:34:34 +0000 (14:34 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:28 +0000 (17:15 -0500)
commitb53d3f5db2b79637acadc06a330db6c2c60863f5
treef5ad7a1612f413e1ae459eb88d20642972d6b02c
parent3ef5969cd8a42a78ccdbc53f7abb2e6136b2ec65
Btrfs: cleanup for btrfs_btree_balance_dirty

- 'nr' is no more used.
- btrfs_btree_balance_dirty() and __btrfs_btree_balance_dirty() can share
  a bunch of code.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/delayed-inode.c
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/relocation.c
fs/btrfs/transaction.c