diff options
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 9d7bbd225eff..e567f4e6196a 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -1070,7 +1070,7 @@ CIFSSMBRead(const int xid, struct cifsTconInfo *tcon, | |||
1070 | } | 1070 | } |
1071 | } | 1071 | } |
1072 | 1072 | ||
1073 | cifs_small_buf_release(pSMB); | 1073 | /* cifs_small_buf_release(pSMB); */ /* Freed earlier now in SendReceive2 */ |
1074 | if(*buf) { | 1074 | if(*buf) { |
1075 | if(resp_buf_type == CIFS_SMALL_BUFFER) | 1075 | if(resp_buf_type == CIFS_SMALL_BUFFER) |
1076 | cifs_small_buf_release(iov[0].iov_base); | 1076 | cifs_small_buf_release(iov[0].iov_base); |
@@ -1274,7 +1274,7 @@ CIFSSMBWrite2(const int xid, struct cifsTconInfo *tcon, | |||
1274 | *nbytes += le16_to_cpu(pSMBr->Count); | 1274 | *nbytes += le16_to_cpu(pSMBr->Count); |
1275 | } | 1275 | } |
1276 | 1276 | ||
1277 | cifs_small_buf_release(pSMB); | 1277 | /* cifs_small_buf_release(pSMB); */ /* Freed earlier now in SendReceive2 */ |
1278 | if(resp_buf_type == CIFS_SMALL_BUFFER) | 1278 | if(resp_buf_type == CIFS_SMALL_BUFFER) |
1279 | cifs_small_buf_release(iov[0].iov_base); | 1279 | cifs_small_buf_release(iov[0].iov_base); |
1280 | else if(resp_buf_type == CIFS_LARGE_BUFFER) | 1280 | else if(resp_buf_type == CIFS_LARGE_BUFFER) |
@@ -2606,7 +2606,7 @@ qsec_out: | |||
2606 | cifs_small_buf_release(iov[0].iov_base); | 2606 | cifs_small_buf_release(iov[0].iov_base); |
2607 | else if(buf_type == CIFS_LARGE_BUFFER) | 2607 | else if(buf_type == CIFS_LARGE_BUFFER) |
2608 | cifs_buf_release(iov[0].iov_base); | 2608 | cifs_buf_release(iov[0].iov_base); |
2609 | cifs_small_buf_release(pSMB); | 2609 | /* cifs_small_buf_release(pSMB); */ /* Freed earlier now in SendReceive2 */ |
2610 | return rc; | 2610 | return rc; |
2611 | } | 2611 | } |
2612 | 2612 | ||