Commit aa2ffd06 authored by Stefan Behrens's avatar Stefan Behrens Committed by Chris Mason

Btrfs: fix a misplaced address operator in a condition

This should obviously not be "if (&flag)" but "if (flag)".
Signed-off-by: default avatarStefan Behrens <sbehrens@giantdisaster.de>
parent b24baf69
...@@ -67,7 +67,7 @@ void btrfs_clear_lock_blocking_rw(struct extent_buffer *eb, int rw) ...@@ -67,7 +67,7 @@ void btrfs_clear_lock_blocking_rw(struct extent_buffer *eb, int rw)
{ {
if (eb->lock_nested) { if (eb->lock_nested) {
read_lock(&eb->lock); read_lock(&eb->lock);
if (&eb->lock_nested && current->pid == eb->lock_owner) { if (eb->lock_nested && current->pid == eb->lock_owner) {
read_unlock(&eb->lock); read_unlock(&eb->lock);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment