diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-01-20 15:11:37 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-01-21 18:06:48 -0800 |
commit | 09dd7a01c3436344fb4c3974b275e016264e0a27 (patch) | |
tree | 29176271e21e7331530408bd2f5cfae7bf88f935 /arch/m68k | |
parent | 114ab50d823c2cc7cf60658fdbdaaba413009921 (diff) | |
download | op-kernel-dev-09dd7a01c3436344fb4c3974b275e016264e0a27.zip op-kernel-dev-09dd7a01c3436344fb4c3974b275e016264e0a27.tar.gz |
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>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions