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

Commit f484b5d0 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: drop spinlock before calling cifs_put_tlink



...as that function can sleep.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent b9bce2e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2242,8 +2242,8 @@ cifs_match_super(struct super_block *sb, void *data)

	rc = compare_mount_options(sb, mnt_data);
out:
	cifs_put_tlink(tlink);
	spin_unlock(&cifs_tcp_ses_lock);
	cifs_put_tlink(tlink);
	return rc;
}