* drop any previous reference the request had, but we don't want
* that to go to zero before we get our new export reference. */
export = class_conn2export(&conn);
-
- /* It's possible that the connection fails if this target is shutting
- down. */
- if (!export)
+ if (!export) {
+ DEBUG_REQ(D_ERROR, req, "Missing export!\n");
GOTO(out, rc = -ENODEV);
+ }
/* If the client and the server are the same node, we will already
* have an export that really points to the client's DLM export,
# haven't changed in the last day (hopefully they don't change during test)
FILES=`find $SRC -type f -mtime +1 -ctime +1 | head -n $COUNT`
log "copying files from $SRC to $DST$SRC at `date`"
-tar cf - $FILES | tar xvf - -C $DST || fail "copying $SRC" 11
+tar cf - $FILES | tar xvf - -C $DST > /dev/null || fail "copying $SRC" 11
log "comparing newly copied files at `date`"
for f in $FILES; do