commit | f484b5d001a972a42129570e98086a2a6d216ce0 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Mon Jul 11 10:16:34 2011 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Mon Jul 11 18:40:52 2011 +0000 |
tree | 1345cdda657b020acc0ca5da7645119d6740cbb3 | |
parent | b9bce2e9f9936cfd12fbc62ead11edcdd46dec7e [diff] [blame] |
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>
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 6ec366ff..dbd669c 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c
@@ -2242,8 +2242,8 @@ rc = compare_mount_options(sb, mnt_data); out: - cifs_put_tlink(tlink); spin_unlock(&cifs_tcp_ses_lock); + cifs_put_tlink(tlink); return rc; }