commit | 09dd7a01c3436344fb4c3974b275e016264e0a27 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Jan 20 15:11:37 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jan 21 18:06:48 2015 -0800 |
tree | 29176271e21e7331530408bd2f5cfae7bf88f935 | |
parent | 114ab50d823c2cc7cf60658fdbdaaba413009921 [diff] |
Btrfs: Cleanup btrfs_bio_counter_inc_blocked() 1: Remove no-need DEFINE_WAIT(wait) 2: Add likely() for BTRFS_FS_STATE_DEV_REPLACING condition 3: Use while loop instead of goto Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>