Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 265e771e authored by Al Viro's avatar Al Viro
Browse files

Fix deadlock in ipathfs ->get_sb()



forgot to unlock superblock before calling deactivate_super()...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c96f5857
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);