]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/smbfs/smbiod.c
nilfs2: integrated block mapping
[linux-2.6-omap-h63xx.git] / fs / smbfs / smbiod.c
index 283c5720c9de1801e6484173f86df376a49894b9..6bd9b691a463f783058b03a84d6de28b49813ee7 100644 (file)
@@ -206,7 +206,7 @@ int smbiod_retry(struct smb_sb_info *server)
 
        smb_close_socket(server);
 
-       if (pid == 0) {
+       if (!pid) {
                /* FIXME: this is fatal, umount? */
                printk(KERN_ERR "smb_retry: no connection process\n");
                server->state = CONN_RETRIED;
@@ -227,7 +227,7 @@ int smbiod_retry(struct smb_sb_info *server)
                printk(KERN_ERR "smb_retry: signal failed [%d]\n", result);
                goto out;
        }
-       VERBOSE("signalled pid %d\n", pid);
+       VERBOSE("signalled pid %d\n", pid_nr(pid));
 
        /* FIXME: The retried requests should perhaps get a "time boost". */