projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24baf6
)
Btrfs: fix a misplaced address operator in a condition
author
Stefan Behrens
<sbehrens@giantdisaster.de>
Thu, 26 Jul 2012 09:40:35 +0000
(
03:40
-0600)
committer
Chris Mason
<chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:23 +0000
(16:53 -0400)
This should obviously not be "if (&flag)" but "if (flag)".
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/locking.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/locking.c
b/fs/btrfs/locking.c
index a44eff0748051b1627448e54f281ca04cd77c719..2a1762c660416c662d32f95060046ba2557ab903 100644
(file)
--- 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;
}