Displaying 1 result from an estimated 1 matches for "conn_valid".
Did you mean:
conf_valid
2007 Jul 18
1
smbfs patch for 2.6 [PATCH]
...FIXME: go back to the interruptable version now that smbmount
+ * can avoid -EIO on the mountpoint when reconnecting?
+ */
+ smb_unlock_server(server);
+ wait_event_timeout(smbiod_wait, 0, 10*HZ);
+ smb_lock_server(server);
+
+ /*
+ * Check for a valid connection.
+ */
+ if (server->state == CONN_VALID) {
+ /* This should be changed to VERBOSE, except many smbfs
+ problems is with the userspace daemon not reconnecting. */
+ PARANOIA("successful, new pid=%d, generation=%d\n",
+ server->conn_pid, server->generation);
+ result = 1;
+ } else if (server->state == CONN_RETR...