projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md-cluster: fix error return code in join()
[linux-2.6-block.git]
/
fs
/
fs_pin.c
diff --git
a/fs/fs_pin.c
b/fs/fs_pin.c
index b06c98796afb1b58ce569c046eee72e0d929c9fe..611b5408f6ec48f84d8cd04a4ea5ec1911a968ba 100644
(file)
--- a/
fs/fs_pin.c
+++ b/
fs/fs_pin.c
@@
-9,8
+9,8
@@
static DEFINE_SPINLOCK(pin_lock);
void pin_remove(struct fs_pin *pin)
{
spin_lock(&pin_lock);
- hlist_del(&pin->m_list);
- hlist_del(&pin->s_list);
+ hlist_del
_init
(&pin->m_list);
+ hlist_del
_init
(&pin->s_list);
spin_unlock(&pin_lock);
spin_lock_irq(&pin->wait.lock);
pin->done = 1;