Skip to content

Commit

Permalink
stress2: Revert change accidentally added in ff4a72c
Browse files Browse the repository at this point in the history
  • Loading branch information
phoatfreebsd committed Jun 15, 2024
1 parent ad9cc86 commit d26c565
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/test/stress2/misc/umountf2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -886,12 +886,11 @@ test(void)
{
unsigned long offset;
unsigned long size = maxoplen;
unsigned long rv;
unsigned long rv = random();
unsigned long op = rv % (3 + !lite + mapped_writes);
/* turn off the map read if necessary */
arc4random_buf(&rv, sizeof(rv));
if (op == 2 && !mapped_reads)
op = 0;
Expand Down

0 comments on commit d26c565

Please sign in to comment.