Browse Source

ext4: during journal test, use jbd_trans_try_revoke_block instead.

pull/11/head
ngkaho1234 9 years ago
parent
commit
9241e3c995
  1. 2
      lwext4/ext4.c

2
lwext4/ext4.c

@ -2552,7 +2552,7 @@ int ext4_test_journal(const char *mount_point)
} }
break; break;
case 1: case 1:
r = jbd_trans_revoke_block(t, rand_block); r = jbd_trans_try_revoke_block(t, rand_block);
if (r != EOK) { if (r != EOK) {
jbd_journal_free_trans(journal, t, jbd_journal_free_trans(journal, t,
true); true);

Loading…
Cancel
Save