X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fost%2Fost_handler.c;h=23c142033025887038fa4d45ff1111fd312c4f13;hp=904beb0448c4ccd21f548713aafc33ced98508ae;hb=5e073128afcf594a267b16258d1c0494664ce33d;hpb=94a34b9ad16e9dc2bbcc0ed7bad89f2e6a671a90 diff --git a/lustre/ost/ost_handler.c b/lustre/ost/ost_handler.c index 904beb0..23c1420 100644 --- a/lustre/ost/ost_handler.c +++ b/lustre/ost/ost_handler.c @@ -2237,7 +2237,7 @@ int ost_handle(struct ptlrpc_request *req) RETURN(0); if (OBD_FAIL_CHECK(OBD_FAIL_OST_ENOSPC)) GOTO(out, rc = -ENOSPC); - if (OBD_FAIL_CHECK(OBD_FAIL_OST_EROFS)) + if (OBD_FAIL_TIMEOUT(OBD_FAIL_OST_EROFS, 1)) GOTO(out, rc = -EROFS); rc = ost_brw_write(req, oti); LASSERT(current->journal_info == NULL);