search for: smb_unlock_server

Displaying 3 results from an estimated 3 matches for "smb_unlock_server".

Did you mean: smb_lock_server
2006 May 11
1
Re: [PATCH] smbfs: Fix slab corruption in samba error path
...q. > */ > smb_lock_server(server); > if (!(req->rq_flags & SMB_REQ_RECEIVED)) { > list_del_init(&req->rq_queue); > smb_rput(req); > } > smb_unlock_server(server); > } > [...] > if (signal_pending(current)) > req->rq_errno = -ERESTARTSYS; > > I guess that some codepath like smbiod_flush() caused the request > to be removed from the queue, and smb_rput(req) be called, without > SMB_REQ_RECEI...
2007 Jul 18
1
smbfs patch for 2.6 [PATCH]
...d requests should perhaps get a "time boost". */ + /* + CYM - Added from 2.4 kernel to wait for the retry to connect, basically waiting for the signal sent to smbmount to remount the samba mount that was lost. + */ + /* + * Wait for the new connection. + */ +#ifdef SMB_RETRY_INTR + smb_unlock_server(server); + wait_event_interruptible_timeout(smbiod_wait, 0, 10*HZ); + smb_lock_server(server); + if (signal_pending(current)) + printk(KERN_INFO "smb_retry: caught signal\n"); +#else + /* + * We don't want to be interrupted. For example, what if 'current' + * already has r...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...{ +#ifdef SMBFS_DEBUG_VERBOSE +printk("smb_proc_readdir: skipped, seen=%d, i=%d, fpos=%d\n", +entries_seen, i, fpos); +#endif + } + entries_seen++; + } + } + result = entries; + + unlock_return: + smb_unlock_server(server); + return result; +} +/* + * Interpret a long filename structure using the specified info level: + * level 1 for anything below NT1 protocol + * level 260 for NT1 protocol + * * We return a reference to the name string to avoid copying, and perform * any needed upper/lower ca...