~cjwatson/ubuntu/karmic/mountall/forcefsck

« back to all changes in this revision

Viewing changes to src/mountall.c

  • Committer: Scott James Remnant
  • Date: 2009-09-21 19:03:32 UTC
  • Revision ID: scott@netsplit.com-20090921190332-or2ttkuntk6cffz2
If a remote filesystem is already mounted and doesn't need a remount,
don't wait for a network device to come up.  LP: #430348.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1002
1002
         */
1003
1003
        mnt->mountpoint_ready = TRUE;
1004
1004
        if (is_virtual (mnt)
 
1005
            || (is_remote (mnt) && mnt->mounted && (! needs_remount (mnt)))
1005
1006
            || (! mnt->type)
1006
1007
            || (mnt->device_ready && (! is_swap (mnt))))
1007
1008
                run_mount (mnt, FALSE);