mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
Btrfs: fix a misplaced address operator in a condition
This should obviously not be "if (&flag)" but "if (flag)". Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
This commit is contained in:
parent
b24baf6917
commit
aa2ffd0616
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue