projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
083c73c
)
Fix failure exit in ipathfs
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 25 Jan 2010 23:44:58 +0000
(18:44 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 27 Jan 2010 03:22:27 +0000
(22:22 -0500)
deactivate_locked_super() will be done by caller of fill_super, doing
it there as well is b0rken.
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 b3684060465eebea3b99a36329c17076fabc958f..100da8542bbaecf5d153a34b4d75bddc8ab61de9 100644
(file)
--- a/
drivers/infiniband/hw/ipath/ipath_fs.c
+++ b/
drivers/infiniband/hw/ipath/ipath_fs.c
@@
-346,10
+346,8
@@
static int ipathfs_fill_super(struct super_block *sb, void *data,
list_for_each_entry_safe(dd, tmp, &ipath_dev_list, ipath_list) {
spin_unlock_irqrestore(&ipath_devs_lock, flags);
ret = create_device_files(sb, dd);
- if (ret) {
- deactivate_locked_super(sb);
+ if (ret)
goto bail;
- }
spin_lock_irqsave(&ipath_devs_lock, flags);
}