dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Jeff Layton 2011-07-11 10:16:34 -04:00 committed by Steve French
parent b9bce2e9f9
commit f484b5d001
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}