Btrfs: make delayed ref lock logic more readable
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 19 Dec 2012 08:10:10 +0000 (08:10 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:36:41 +0000 (09:36 -0500)
Locking and unlocking delayed ref mutex are in the different functions,
and the name of lock functions is not uniform, so the readability is not
so good, this patch optimizes the lock logic and makes it more readable.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>

No differences found