[API BREAK] Remove jfsck_cleanup(), make jfsck() cleanup by default
commit1d82e761c95f87cccee081211dff8a33953dd0f1
authorAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 23 Apr 2009 22:01:46 +0000 (23 19:01 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 23 Apr 2009 22:18:56 +0000 (23 19:18 -0300)
treeb998dff07605ea8b73eaee06375cd0c776d9da28
parentf98796be2c98a5d80ba35b8de850538a43b81b88
[API BREAK] Remove jfsck_cleanup(), make jfsck() cleanup by default

Since cleaning up is the normal behaviour, it makes no sense to keep a
separate function for doing it.

This patch removes jfsck_cleanup(), and makes jfsck() do it by default
instead. A flags parameter to jfsck() was added, and a J_NOCLEANUP flag
was added, to give the user the possibility of avoiding cleaning the
journal up.

In the future, the jfsck() code will probably get merged with
jfsck_cleanup(), but it's not done here to make the patch more robust.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
15 files changed:
UPGRADING
bindings/preload/libjio_preload.c
bindings/python/libjio.c
doc/guide.rst
doc/libjio.rst
libjio/check.c
libjio/doxygen/Makefile
libjio/jiofsck.c
libjio/libjio.3
libjio/libjio.h
samples/full.c
tests/behaviour/tf.py
tests/performance/performance.c
tests/performance/random.c
tests/stress/jiostress