Btrfs: Properly release lock in pin_down_bytes
authorYan <yanzheng@21cn.com>
Thu, 24 Jul 2008 16:18:16 +0000 (12:18 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:05 +0000 (11:04 -0400)
commit974e35a82d022434efa50fe5f805ae14c542ba8c
treebe21c7139c573ad57d69cd81344161a6b5e21cef
parent45467261edb590fd5a2d676d9686edb82762fb3f
Btrfs: Properly release lock in pin_down_bytes

When buffer isn't uptodate, pin_down_bytes may leave the tree locked
after it returns.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c