Btrfs: Fix buffer get/release issue in create_snapshot
authorYan <yanzheng@21cn.com>
Tue, 4 Dec 2007 18:20:20 +0000 (13:20 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000 (11:03 -0400)
commit9691975dd663b255fa52404dc7de4b18892bf244
treef0a413e147596191f2508767736923e15664760b
parent1a2b2ac78a4151a49267a1e3f48a131f5810814e
Btrfs: Fix buffer get/release issue in create_snapshot
btrfs_cow_block expects a reference to be held on the buffer being cow'd.

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