- /* If an OBD UUID is specified but none matches, skip this file. */
- if ((param->obduuid && param->obdindex == OBD_NOT_FOUND) ||
- (param->mdtuuid && param->mdtindex == OBD_NOT_FOUND))
- goto decided;
-
- /* If a OST or MDT UUID is given, and some OST matches,
- * check it here. */
- if (param->obdindex != OBD_NOT_FOUND ||
- param->mdtindex != OBD_NOT_FOUND) {
- if (param->obduuid) {
- if (check_obd_match(param)) {
- /* If no mdtuuid is given, we are done.
- * Otherwise, fall through to the mdtuuid
- * check below. */
- if (!param->mdtuuid)
- goto obd_matches;
- } else {
- goto decided;
- }
- }
- if (param->mdtuuid) {
- if (check_mdt_match(param))
- goto obd_matches;
- goto decided;
- }
- }
+ /* If an OBD UUID is specified but none matches, skip this file. */
+ if ((param->fp_obd_uuid && param->fp_obd_index == OBD_NOT_FOUND) ||
+ (param->fp_mdt_uuid && param->fp_mdt_index == OBD_NOT_FOUND))
+ goto decided;
+
+ /* If a OST or MDT UUID is given, and some OST matches,
+ * check it here. */
+ if (param->fp_obd_index != OBD_NOT_FOUND ||
+ param->fp_mdt_index != OBD_NOT_FOUND) {
+ if (param->fp_obd_uuid) {
+ if (check_obd_match(param)) {
+ /* If no mdtuuid is given, we are done.
+ * Otherwise, fall through to the mdtuuid
+ * check below. */
+ if (!param->fp_mdt_uuid)
+ goto obd_matches;
+ } else {
+ goto decided;
+ }
+ }
+
+ if (param->fp_mdt_uuid) {
+ if (check_mdt_match(param))
+ goto obd_matches;
+ goto decided;
+ }
+ }
+