libjio.patch 388 B

123456789101112131415
  1. Index: libjio/trans.c
  2. --- libjio/trans.c.orig 2009-03-29 06:31:21 +0200
  3. +++ libjio/trans.c 2009-03-30 21:40:55 +0200
  4. @@ -421,8 +421,10 @@
  5. ts->fs->ltrans = linger;
  6. pthread_mutex_unlock(&(ts->fs->ltlock));
  7. } else {
  8. +#if 0
  9. if (fdatasync(ts->fs->fd) != 0)
  10. goto rollback_exit;
  11. +#endif
  12. /* the transaction has been applied, so we cleanup and remove
  13. * it from the disk */