sam_mig_stage_end - Completes staging function for foreign
data migration program
cc [ flag ... ] file ... -L/opt/SUNWsamfs/lib -lsamut [library ... ]
int sam_mig_stage_end(tp_stage_t *stage_req, int error);
sam_mig_stage_end() is called when the foreign data migra-
tion program has finished the stage or detected an error
after sam_mig_stage_file has been called without error.
stage_req is the number of this stage request. error is the
number of the error to pass back to the file system. A 0
indicates no error.
Upon succesful completion a value of 0 is returned.
The example Migration Toolkit program.
The configuration file for Sun QFS and
SAM-QFS file systems.