search for: smbiod_wait

Displaying 1 result from an estimated 1 matches for "smbiod_wait".

2007 Jul 18
1
smbfs patch for 2.6 [PATCH]
.../* + 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 received a signal? sleep_on would terminate immediately +...