search for: drop_dirty_root

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

Did you mean: drop_dirty_roots
2007 Sep 23
0
[patch]fix get_bh and brelse issues when drop snapshot
...if (wret < 0) ret = wret; ret = -EAGAIN; - get_bh(root->node); break; } for (i = 0; i <= orig_level; i++) { diff -r 29b8cc7794ac transaction.c --- a/transaction.c Thu Sep 20 14:14:42 2007 -0400 +++ b/transaction.c Sun Sep 23 12:35:00 2007 +0800 @@ -457,6 +457,7 @@ static int drop_dirty_roots(struct btrfs ret = btrfs_end_transaction(trans, tree_root); BUG_ON(ret); + btrfs_block_release(dirty->root, dirty->root->node); kfree(dirty->root); kfree(dirty); mutex_unlock(&tree_root->fs_info->fs_mutex);