Displaying 1 result from an estimated 1 matches for "smb_retry_intr".
2007 Jul 18
1
smbfs patch for 2.6 [PATCH]
...FIXME: The retried 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'...