]> Pileus Git - ~andy/linux/commit
Btrfs: cleanup code of btrfs_balance_delayed_items()
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 26 Dec 2013 05:07:03 +0000 (13:07 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:07 +0000 (13:20 -0800)
commit0353808cae35bc81c86e3510748a10f6bdff41b8
tree1dc627f499542fad31043724671d941469ceb0c3
parent4dd466d36a50d9c96cd990e2e0d472fe720a10aa
Btrfs: cleanup code of btrfs_balance_delayed_items()

- move the condition check for wait into a function
- use wait_event_interruptible instead of prepare-schedule-finish process

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/delayed-inode.c