Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19008
b: refs/heads/master
c: 47c886b
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Jan 18, 2006
1 parent 6fe9667 commit 7c00021
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d65177c1ae7f085723154105c5dc8d9e16ae8265
refs/heads/master: 47c886b3123a335f0622136e021e7691d60d742c
5 changes: 4 additions & 1 deletion trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,10 @@ static int cifs_readpages(struct file *file, struct address_space *mapping,

/* need to free smb_read_data buf before exit */
if (smb_read_data) {
cifs_buf_release(smb_read_data);
if(buf_type == CIFS_SMALL_BUFFER)
cifs_small_buf_release(smb_read_data);
else if(buf_type == CIFS_LARGE_BUFFER)
cifs_buf_release(smb_read_data);
smb_read_data = NULL;
}

Expand Down

0 comments on commit 7c00021

Please sign in to comment.