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.
/* get expand exit code */
LOG("Expand completed with rc = %d \n",status);
rc = WEXITSTATUS(status);
+ } else {
+ rc = EINTR;
}
}
if (buffer) {
/* get shrink exit code */
LOG("Shrink completed with rc = %d \n",status);
rc = WEXITSTATUS(status);
+ } else {
+ rc = EINTR;
}
}
if (buffer) {
if ( WIFEXITED(status) ) {
/* get mke2fs exit code */
rc = WEXITSTATUS(status);
- }
+ } else {
+ rc = EINTR;
+ }
}
return rc;
LOG("e2fsck completed with exit code %d \n",
*ret_status);
rc = 0;
+ } else {
+ rc = EINTR;
}
}