aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/cpia2
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-02-04 09:31:28 -0500
committerChris Mason <chris.mason@oracle.com>2009-02-04 09:31:28 -0500
commit4d081c41a4f98aecb5e86ef7d3e644cc7b52131f (patch)
tree441e557a52e85a71e60da81d578bcb22fd4760d7 /firmware/cpia2
parent06d9a8d7c24fe22836bf0b0f82db59d6f98e271e (diff)
Btrfs: change btrfs_del_leaf to drop locks earlier
btrfs_del_leaf does two things. First it removes the pointer in the parent, and then it frees the block that has the leaf. It has the parent node locked for both operations. But, it only needs the parent locked while it is deleting the pointer. After that it can safely free the block without the parent locked. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions