From 5b2e3e8bd8a4b404f0c6158dfaad5b15e4073940 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 15 Jun 2007 11:16:19 +0000 Subject: r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan (This used to be commit 5530b38bbf776fec86dd47d3fe73c5e7a6eb188b) --- source4/torture/basic/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c index 933e4334c0..0523aca961 100644 --- a/source4/torture/basic/misc.c +++ b/source4/torture/basic/misc.c @@ -575,7 +575,7 @@ static NTSTATUS benchrw_readwrite(struct torture_context *tctx, "Callback READ file:%d (%d/%d) Offset:%d\n", state->nr,state->completed,torture_numops, (state->readcnt*state->lp_params->blocksize)); - rd.generic.level = RAW_READ_READ ; + rd.generic.level = RAW_READ_READX ; rd.read.in.file.fnum = state->fnum ; rd.read.in.offset = state->readcnt * state->lp_params->blocksize; -- cgit