Btrfs: Remove unnecessary finish_wait() in wait_current_trans()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 25 Mar 2010 12:35:14 +0000 (12:35 +0000)
committerChris Mason <chris.mason@oracle.com>
Wed, 31 Mar 2010 01:19:08 +0000 (21:19 -0400)
We only need to call finish_wait() after wait loop.

By the way, this patch makes code of waiting loop similar to
example in wait.h(no functional change)

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found