diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 04239a7ff320..469c3ddba463 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1631,7 +1631,7 @@ cifs_get_tcp_session(struct smb_vol *volume_info) | |||
1631 | tcp_ses->hostname = extract_hostname(volume_info->UNC); | 1631 | tcp_ses->hostname = extract_hostname(volume_info->UNC); |
1632 | if (IS_ERR(tcp_ses->hostname)) { | 1632 | if (IS_ERR(tcp_ses->hostname)) { |
1633 | rc = PTR_ERR(tcp_ses->hostname); | 1633 | rc = PTR_ERR(tcp_ses->hostname); |
1634 | goto out_err2; | 1634 | goto out_err_crypto_release; |
1635 | } | 1635 | } |
1636 | 1636 | ||
1637 | tcp_ses->noblocksnd = volume_info->noblocksnd; | 1637 | tcp_ses->noblocksnd = volume_info->noblocksnd; |
@@ -1675,7 +1675,7 @@ cifs_get_tcp_session(struct smb_vol *volume_info) | |||
1675 | } | 1675 | } |
1676 | if (rc < 0) { | 1676 | if (rc < 0) { |
1677 | cERROR(1, "Error connecting to socket. Aborting operation"); | 1677 | cERROR(1, "Error connecting to socket. Aborting operation"); |
1678 | goto out_err2; | 1678 | goto out_err_crypto_release; |
1679 | } | 1679 | } |
1680 | 1680 | ||
1681 | /* | 1681 | /* |
@@ -1689,7 +1689,7 @@ cifs_get_tcp_session(struct smb_vol *volume_info) | |||
1689 | rc = PTR_ERR(tcp_ses->tsk); | 1689 | rc = PTR_ERR(tcp_ses->tsk); |
1690 | cERROR(1, "error %d create cifsd thread", rc); | 1690 | cERROR(1, "error %d create cifsd thread", rc); |
1691 | module_put(THIS_MODULE); | 1691 | module_put(THIS_MODULE); |
1692 | goto out_err2; | 1692 | goto out_err_crypto_release; |
1693 | } | 1693 | } |
1694 | 1694 | ||
1695 | /* thread spawned, put it on the list */ | 1695 | /* thread spawned, put it on the list */ |
@@ -1701,7 +1701,7 @@ cifs_get_tcp_session(struct smb_vol *volume_info) | |||
1701 | 1701 | ||
1702 | return tcp_ses; | 1702 | return tcp_ses; |
1703 | 1703 | ||
1704 | out_err2: | 1704 | out_err_crypto_release: |
1705 | cifs_crypto_shash_release(tcp_ses); | 1705 | cifs_crypto_shash_release(tcp_ses); |
1706 | 1706 | ||
1707 | out_err: | 1707 | out_err: |