search for: rq_rcls

Displaying 2 results from an estimated 2 matches for "rq_rcls".

2005 Mar 25
2
[2.6 patch] fs/smbfs/request.c: fix NULL dereference
...se SMB_RECV_REQUEST: server->rstate = SMB_RECV_END; break; } + if (!req) + return -ENOMEM; + if (result < 0) { /* We saw an error */ return result; } if (server->rstate != SMB_RECV_END) return 0; result = 0; if (req->rq_trans2_command && req->rq_rcls == SUCCESS)
2005 Aug 15
3
[-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
...iff -urpN 2.6.13-rc5-mm1/fs/smbfs/proc.c 2.6.13-rc5-mm1-dev/fs/smbfs/proc.c --- 2.6.13-rc5-mm1/fs/smbfs/proc.c 2005-03-01 23:37:49.000000000 -0800 +++ 2.6.13-rc5-mm1-dev/fs/smbfs/proc.c 2005-08-12 13:43:10.000000000 -0700 @@ -2397,8 +2397,7 @@ smb_proc_readdir_long(struct file *filp, if (req->rq_rcls == ERRSRV && req->rq_err == ERRerror) { /* a damn Win95 bug - sometimes it clags if you ask it too fast */ - current->state = TASK_INTERRUPTIBLE; - schedule_timeout(HZ/5); + schedule_timeout_interruptible(msecs_to_jiffies(200)); continue; } dif...