Btrfs: use wait_event()
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 14 Jul 2011 03:17:00 +0000 (03:17 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:46 +0000 (14:30 -0400)
commit72d63ed6427cf233e2b352c0b80c3e5c5a444986
treee88ba3e354552911f4ee8695e2123e7a4552a6f1
parente55179b3d7d41d83fd6b5f59325f4a8d8ac9700a
Btrfs: use wait_event()

Use wait_event() when possible to avoid code duplication.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/transaction.c