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:
a872d51
)
nfs: lock() vs unlock() typo
author
Dan Carpenter
<
[email protected]
>
Sun, 20 Mar 2011 11:22:07 +0000
(14:22 +0300)
committer
Al Viro
<
[email protected]
>
Mon, 21 Mar 2011 04:45:50 +0000
(
00:45
-0400)
These should be spin_unlock() instead of spin_lock(). It's a typo.
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/nfs/namespace.c
patch
|
blob
|
history
diff --git
a/fs/nfs/namespace.c
b/fs/nfs/namespace.c
index c0b8344db0c65129d08d6a299a051fed0ce430fd..bf1c68009ffd8b64001ecdd4d9f266654d2a3656 100644
(file)
--- a/
fs/nfs/namespace.c
+++ b/
fs/nfs/namespace.c
@@
-98,7
+98,7
@@
rename_retry:
namelen--;
buflen -= namelen;
if (buflen < 0) {
- spin_lock(&dentry->d_lock);
+ spin_
un
lock(&dentry->d_lock);
rcu_read_unlock();
goto Elong;
}
@@
-108,7
+108,7
@@
rename_retry:
rcu_read_unlock();
return end;
Elong_unlock:
- spin_lock(&dentry->d_lock);
+ spin_
un
lock(&dentry->d_lock);
rcu_read_unlock();
if (read_seqretry(&rename_lock, seq))
goto rename_retry;