cifs: drop spinlock before calling cifs_put_tlink
...as that function can sleep. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
b9bce2e9f9
commit
f484b5d001
|
@ -2242,8 +2242,8 @@ cifs_match_super(struct super_block *sb, void *data)
|
||||||
|
|
||||||
rc = compare_mount_options(sb, mnt_data);
|
rc = compare_mount_options(sb, mnt_data);
|
||||||
out:
|
out:
|
||||||
cifs_put_tlink(tlink);
|
|
||||||
spin_unlock(&cifs_tcp_ses_lock);
|
spin_unlock(&cifs_tcp_ses_lock);
|
||||||
|
cifs_put_tlink(tlink);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue