From: Stefan Behrens Date: Thu, 26 Jul 2012 09:40:35 +0000 (-0600) Subject: Btrfs: fix a misplaced address operator in a condition X-Git-Tag: v3.6-rc4~6^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa2ffd06168e25689e0eb9662bf4595ba2bbac14;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git Btrfs: fix a misplaced address operator in a condition This should obviously not be "if (&flag)" but "if (flag)". Signed-off-by: Stefan Behrens --- diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c index a44eff074..2a1762c 100644 --- a/fs/btrfs/locking.c +++ b/fs/btrfs/locking.c @@ -67,7 +67,7 @@ void btrfs_clear_lock_blocking_rw(struct extent_buffer *eb, int rw) { if (eb->lock_nested) { 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); return; }