X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fsmbfs%2Fsmbiod.c;h=6bd9b691a463f783058b03a84d6de28b49813ee7;hb=66a45cc4cc1c1f7d1ccae4d0fee261eab5560682;hp=fae8e85af0ed59ae850ca66f250d3a71c36c1ff8;hpb=b22da92f2cf52b3c51dd9a45abb658b1414b0784;p=karo-tx-linux.git diff --git a/fs/smbfs/smbiod.c b/fs/smbfs/smbiod.c index fae8e85af0ed..6bd9b691a463 100644 --- a/fs/smbfs/smbiod.c +++ b/fs/smbfs/smbiod.c @@ -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;