[Btrfs-devel][PATCH]Fix buffer get/release issue in create_snapshot

Chris Mason chris.mason at oracle.com
Tue Dec 4 10:26:45 PST 2007


On Tue, 4 Dec 2007 21:22:44 +0800
"Yan Zheng" <yanzheng at 21cn.com> wrote:

> Hello,
> 
> '__btrfs_cow_block' expects the caller holds a reference to the buffer
> and it drops caller's reference.  If the caller doesn't hold a
> reference, root->commit_root's reference may lose.

Thanks, I've got the updated patch.

-chris



More information about the Btrfs-devel mailing list