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:
08e15e8
)
[GFS2] fix locking mistake
author
Josef Whiter
<jwhiter@redhat.com>
Tue, 20 Feb 2007 05:03:29 +0000
(
00:03
-0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 7 Mar 2007 18:56:41 +0000
(13:56 -0500)
This patch fixes a locking mistake in the quota code, we do a mutex_lock instead
of a mutex_unlock.
Signed-off-by: Josef Whiter <jwhiter@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/quota.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/quota.c
b/fs/gfs2/quota.c
index d0db881b55d2cf34231335d1c2848f1fd131af30..c186857e48a80a49433b81fe2f11986b58c188f7 100644
(file)
--- a/
fs/gfs2/quota.c
+++ b/
fs/gfs2/quota.c
@@
-279,7
+279,7
@@
static int bh_get(struct gfs2_quota_data *qd)
(bh->b_data + sizeof(struct gfs2_meta_header) +
offset * sizeof(struct gfs2_quota_change));
- mutex_lock(&sdp->sd_quota_mutex);
+ mutex_
un
lock(&sdp->sd_quota_mutex);
return 0;