+ /*
+ * If replay_redirect is set then always return this device
+ * upon lookup which overrides the device lookup based on
+ * major minor in the actual blktrace
+ */
+ if (td->o.replay_redirect) {
+ dprint(FD_BLKTRACE, "device lookup: %d/%d\n overridden"
+ " with: %s", maj, min,
+ td->o.replay_redirect);
+ strcpy(path, td->o.replay_redirect);
+ found = 1;
+ break;
+ }
+