Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26709
b: refs/heads/master
c: 48564e6
h: refs/heads/master
i:
  26707: aa09ffb
v: v3
  • Loading branch information
Jan Niehusmann authored and Linus Torvalds committed May 15, 2006
1 parent 6d9b74e commit f19c75e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2e367a82fc2da335455984a7722c721dd3fa782b
refs/heads/master: 48564e628bd7662d7a0b3ac81c41cd0e4cc36dae
4 changes: 3 additions & 1 deletion trunk/fs/smbfs/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,11 @@ int smb_add_request(struct smb_request *req)
/*
* On timeout or on interrupt we want to try and remove the
* request from the recvq/xmitq.
* First check if the request is still part of a queue. (May
* have been removed by some error condition)
*/
smb_lock_server(server);
if (!(req->rq_flags & SMB_REQ_RECEIVED)) {
if (!list_empty(&req->rq_queue)) {
list_del_init(&req->rq_queue);
smb_rput(req);
}
Expand Down

0 comments on commit f19c75e

Please sign in to comment.