Whamcloud - gitweb
LU-7173 mdt: intent vs unlink race
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_handler.c
index 619662a..2bf04b4 100644 (file)
@@ -747,7 +747,7 @@ static int osd_fid_lookup(const struct lu_env *env, struct osd_object *obj,
        LASSERT(info);
        oic = &info->oti_cache;
 
-       if (OBD_FAIL_CHECK(OBD_FAIL_OST_ENOENT))
+       if (OBD_FAIL_CHECK(OBD_FAIL_SRV_ENOENT))
                RETURN(-ENOENT);
 
        /* For the object is created as locking anchor, or for the object to