projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96f585
)
Fix deadlock in ipathfs ->get_sb()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 6 May 2009 05:36:04 +0000
(
01:36
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 9 May 2009 14:49:40 +0000
(10:49 -0400)
forgot to unlock superblock before calling deactivate_super()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/infiniband/hw/ipath/ipath_fs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/ipath/ipath_fs.c
b/drivers/infiniband/hw/ipath/ipath_fs.c
index 8dc2bb781605d5bda70851249234687ea08f62be..b3684060465eebea3b99a36329c17076fabc958f 100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_fs.c
+++ b/
drivers/infiniband/hw/ipath/ipath_fs.c
@@
-347,7
+347,7
@@
static int ipathfs_fill_super(struct super_block *sb, void *data,
spin_unlock_irqrestore(&ipath_devs_lock, flags);
ret = create_device_files(sb, dd);
if (ret) {
- deactivate_super(sb);
+ deactivate_
locked_
super(sb);
goto bail;
}
spin_lock_irqsave(&ipath_devs_lock, flags);