diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_fs.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_fs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c index edef8527eb34..844954bf417b 100644 --- a/drivers/infiniband/hw/qib/qib_fs.c +++ b/drivers/infiniband/hw/qib/qib_fs.c | |||
@@ -542,10 +542,8 @@ static int qibfs_fill_super(struct super_block *sb, void *data, int silent) | |||
542 | list_for_each_entry_safe(dd, tmp, &qib_dev_list, list) { | 542 | list_for_each_entry_safe(dd, tmp, &qib_dev_list, list) { |
543 | spin_unlock_irqrestore(&qib_devs_lock, flags); | 543 | spin_unlock_irqrestore(&qib_devs_lock, flags); |
544 | ret = add_cntr_files(sb, dd); | 544 | ret = add_cntr_files(sb, dd); |
545 | if (ret) { | 545 | if (ret) |
546 | deactivate_super(sb); | ||
547 | goto bail; | 546 | goto bail; |
548 | } | ||
549 | spin_lock_irqsave(&qib_devs_lock, flags); | 547 | spin_lock_irqsave(&qib_devs_lock, flags); |
550 | } | 548 | } |
551 | 549 | ||