Changeset 1251


Ignore:
Timestamp:
Mar 20, 2007, 11:43:15 AM (13 years ago)
Author:
bruno
Message:

wait_until_software_raids_are_prepped function has now only 1 parameter (the other was useless)

Location:
branches/stable/mondo/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/newt-specific.c

    r1213 r1251  
    15251525
    15261526
    1527 void wait_until_software_raids_are_prepped(char *mdstat_file,
    1528                                            int wait_for_percentage);
     1527void wait_until_software_raids_are_prepped(int wait_for_percentage);
  • branches/stable/mondo/src/mondorestore/mondo-prep.c

    r1197 r1251  
    905905    mr_msg(1, "Creating LVMs");
    906906    if (does_file_exist("/tmp/i-want-my-lvm")) {
    907         wait_until_software_raids_are_prepped("/proc/mdstat", 100);
     907        wait_until_software_raids_are_prepped(100);
    908908        log_to_screen(_("Configuring LVM"));
    909909        if (!g_text_mode) {
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools-EXT.h

    r1200 r1251  
    3838extern void ask_about_these_imagedevs(char *infname, char *outfname);
    3939
    40 extern void wait_until_software_raids_are_prepped(char *mdstat_file,
    41                                                   int wait_for_percentage);
     40extern void wait_until_software_raids_are_prepped(int wait_for_percentage);
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1241 r1251  
    23472347
    23482348
    2349 void wait_until_software_raids_are_prepped(char *mdstat_file,
    2350                                            int wait_for_percentage)
     2349void wait_until_software_raids_are_prepped(int wait_for_percentage)
    23512350{
    23522351    struct raidlist_itself *raidlist = NULL;
  • branches/stable/mondo/src/mondorestore/mondorestore.c

    r1239 r1251  
    26882688
    26892689
    2690 extern void wait_until_software_raids_are_prepped(char *, int);
     2690extern void wait_until_software_raids_are_prepped(int);
    26912691
    26922692char which_restore_mode(void);
     
    29582958    }
    29592959
    2960     if (argc == 3 && strcmp(argv[1], "--mdstat") == 0) {
    2961         wait_until_software_raids_are_prepped(argv[2], 100);
     2960    if (argc == 2 && strcmp(argv[1], "--mdstat") == 0) {
     2961        wait_until_software_raids_are_prepped(100);
    29622962        finish(0);
    29632963    }
Note: See TracChangeset for help on using the changeset viewer.