diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-12-26 06:07:03 +0100 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 22:20:07 +0100 |
commit | 0353808cae35bc81c86e3510748a10f6bdff41b8 (patch) | |
tree | 1dc627f499542fad31043724671d941469ceb0c3 /fs/btrfs/delayed-ref.c | |
parent | Btrfs: don't run delayed nodes again after all nodes flush (diff) | |
download | linux-0353808cae35bc81c86e3510748a10f6bdff41b8.tar.xz linux-0353808cae35bc81c86e3510748a10f6bdff41b8.zip |
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/delayed-ref.c')
0 files changed, 0 insertions, 0 deletions