* Recommended e2fsprogs version: 1.40.2-cfs4
* Note that reiserfs quotas are disabled on SLES 10 in this kernel.
+Severity : major
+Frequency : always
+Bugzilla : 14270
+Description: lfs find does not continue on file error
+Details : Continue other files processing when a file/dir is absent.
+
Severity : normal
Bugzilla : 11791
Description: Inconsistent usage of lustre_pack_reply()
__FUNCTION__, path);
return ret;
}
+ } else if (errno == ENOENT) {
+ err_msg("warning: %s: %s does not exist",
+ __FUNCTION__, path);
+ goto decided;
} else {
err_msg("error: %s: %s failed for %s", __FUNCTION__,
dir ? "LL_IOC_MDC_GETINFO" :
}
if (ret) {
- fprintf(stderr, "%s: IOC_LOV_GETINFO on %s failed: "
- "%s.\n", __FUNCTION__, path, strerror(errno));
- return -EINVAL;
+ if (errno == ENOENT) {
+ err_msg("warning: %s: %s does not exist",
+ __FUNCTION__, path);
+ goto decided;
+ } else {
+ fprintf(stderr, "%s: IOC_LOV_GETINFO on %s failed: "
+ "%s.\n", __FUNCTION__, path, strerror(errno));
+ return ret;
+ }
}
/* Check the time on osc. */
} else if (errno == ENOTTY) {
fprintf(stderr, "%s: '%s' not on a Lustre fs?\n",
__FUNCTION__, path);
+ } else if (errno == ENOENT) {
+ err_msg("warning: %s: %s does not exist",
+ __FUNCTION__, path);
+ goto out;
} else {
err_msg("error: %s: %s failed for %s", __FUNCTION__,
d ? "LL_IOC_LOV_GETSTRIPE" :
fprintf(stderr, "%s has no stripe info\n",
path);
rc = 0;
+ } else if (errno == ENOENT) {
+ err_msg("warning: %s: %s does not exist",
+ __FUNCTION__, path);
+ rc = 0;
} else if (errno != EISDIR) {
rc = errno;
err_msg("%s ioctl failed for %s.",