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:
e06baab
)
Btrfs: cleanup: use consistent lock naming
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 18 Apr 2012 06:59:29 +0000
(09:59 +0300)
committer
Josef Bacik
<josef@redhat.com>
Fri, 11 May 2012 14:56:41 +0000
(10:56 -0400)
It confuses Smatch that we use two names for the same lock. Plus the
shorter name is nicer. This doesn't change how the code works, it's
just a cleanup.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index 49fd7b66d57b272c7aeaea7db4b1bbd0985f8aa2..59ae191d4f93f515ad2a4a661a56313a028fbf0f 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-3578,7
+3578,7
@@
again:
space_info->chunk_alloc = 0;
spin_unlock(&space_info->lock);
out:
- mutex_unlock(&
extent_root->
fs_info->chunk_mutex);
+ mutex_unlock(&fs_info->chunk_mutex);
return ret;
}