search for: btrfs_buffer_head

Displaying 1 result from an estimated 1 matches for "btrfs_buffer_head".

Did you mean: btrfs_buffer_header
2007 Sep 23
0
[patch]fix get_bh and brelse issues when drop snapshot
...ase root->node's usage count when drop a snapshot. Regards YZ diff -r 29b8cc7794ac extent-tree.c --- a/extent-tree.c Thu Sep 20 14:14:42 2007 -0400 +++ b/extent-tree.c Sun Sep 23 12:35:00 2007 +0800 @@ -1483,6 +1483,7 @@ int btrfs_drop_snapshot(struct btrfs_tra level = btrfs_header_level(btrfs_buffer_header(root->node)); orig_level = level; if (btrfs_disk_key_objectid(&root_item->drop_progress) == 0) { + get_bh(root->node); path->nodes[level] = root->node; path->slots[level] = 0; } else { @@ -1516,7 +1517,6 @@ int btrfs_drop_snapshot(struct btrfs_tra if (wret &l...