~ubuntu-branches/ubuntu/hardy/nfs-utils/hardy-updates

« back to all changes in this revision

Viewing changes to utils/mount/nfsmount.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2007-11-14 04:52:46 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20071114045246-37yxn6na36segpuh
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
688
688
                                if (errno == ETIMEDOUT)
689
689
                                        break;
690
690
                        default:
691
 
                                mount_errors(*nfs_server.hostname, 0, bg);
 
691
                                rpc_mount_errors(*nfs_server.hostname, 0, bg);
692
692
                        goto fail;
693
693
                        }
694
694
                        t = time(NULL);
695
695
                        if (t >= timeout) {
696
 
                                mount_errors(*nfs_server.hostname, 0, bg);
 
696
                                rpc_mount_errors(*nfs_server.hostname, 0, bg);
697
697
                                goto fail;
698
698
                        }
699
 
                        mount_errors(*nfs_server.hostname, 1, bg);
 
699
                        rpc_mount_errors(*nfs_server.hostname, 1, bg);
700
700
                        continue;
701
701
                }
702
702
                if (!running_bg) {
707
707
                }
708
708
                t = time(NULL);
709
709
                if (t >= timeout) {
710
 
                        mount_errors(*nfs_server.hostname, 0, bg);
 
710
                        rpc_mount_errors(*nfs_server.hostname, 0, bg);
711
711
                        goto fail;
712
712
                }
713
713
                if (doonce++ < 1)
714
 
                        mount_errors(*nfs_server.hostname, 1, bg);
 
714
                        rpc_mount_errors(*nfs_server.hostname, 1, bg);
715
715
        }
716
716
 
717
717
        if (nfs_pmap->pm_vers == 2) {
863
863
                }
864
864
        }
865
865
 
866
 
        return 0;
 
866
        return EX_SUCCESS;
867
867
 
868
868
        /* abort */
869
869
 fail: