diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-12-26 13:07:03 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 13:20:07 -0800 |
commit | 0353808cae35bc81c86e3510748a10f6bdff41b8 (patch) | |
tree | 1dc627f499542fad31043724671d941469ceb0c3 /fs/btrfs/transaction.h | |
parent | 4dd466d36a50d9c96cd990e2e0d472fe720a10aa (diff) |
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>
Diffstat (limited to 'fs/btrfs/transaction.h')
0 files changed, 0 insertions, 0 deletions