Whamcloud - gitweb
Branch b1_5
authornathan <nathan>
Mon, 5 Jun 2006 19:30:18 +0000 (19:30 +0000)
committernathan <nathan>
Mon, 5 Jun 2006 19:30:18 +0000 (19:30 +0000)
lustre/ldlm/ldlm_lib.c
lustre/tests/runtests

index a839917..21f8420 100644 (file)
@@ -724,11 +724,10 @@ int target_handle_connect(struct ptlrpc_request *req, svc_handler_t handler)
          * 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,
index 2b781a5..a9f8e23 100755 (executable)
@@ -91,7 +91,7 @@ mkdir $DST || fail "can't mkdir $DST" 10
 # 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