mirror of https://github.com/vitalif/e2fsprogs
Synchronize with EVMS CVS. Add better error handling
for child processes that die unexpectedly.bitmap-optimize
parent
d894e8b858
commit
d5f445c603
|
@ -1,5 +1,13 @@
|
|||
2002-11-08 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* fs_ext2.c (fs_expand, fs_shrink): Synchronize with EVMS CVS rev
|
||||
1.13 (2002/09/03). Add better error handling for child
|
||||
processes that die unexpectedly.
|
||||
|
||||
* fsimext2.c (fsim_mkfs, fsim_fsck): Synchronize with EVMS CVS rev
|
||||
1.6 (2002/09/03). Add better error handling for child
|
||||
processes that die unexpectedly.
|
||||
|
||||
* fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12
|
||||
(2002/08/28): Use the EVMS_IS_MOUNTED macro.
|
||||
|
||||
|
|
|
@ -370,6 +370,8 @@ static int fs_expand( logical_volume_t * volume,
|
|||
/* get expand exit code */
|
||||
LOG("Expand completed with rc = %d \n",status);
|
||||
rc = WEXITSTATUS(status);
|
||||
} else {
|
||||
rc = EINTR;
|
||||
}
|
||||
}
|
||||
if (buffer) {
|
||||
|
@ -525,6 +527,8 @@ static int fs_shrink( logical_volume_t * volume,
|
|||
/* get shrink exit code */
|
||||
LOG("Shrink completed with rc = %d \n",status);
|
||||
rc = WEXITSTATUS(status);
|
||||
} else {
|
||||
rc = EINTR;
|
||||
}
|
||||
}
|
||||
if (buffer) {
|
||||
|
|
|
@ -139,7 +139,9 @@ int fsim_mkfs(logical_volume_t * volume, option_array_t * options )
|
|||
if ( WIFEXITED(status) ) {
|
||||
/* get mke2fs exit code */
|
||||
rc = WEXITSTATUS(status);
|
||||
}
|
||||
} else {
|
||||
rc = EINTR;
|
||||
}
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
@ -339,6 +341,8 @@ int fsim_fsck(logical_volume_t * volume, option_array_t * options,
|
|||
LOG("e2fsck completed with exit code %d \n",
|
||||
*ret_status);
|
||||
rc = 0;
|
||||
} else {
|
||||
rc = EINTR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue