#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <stdio.h>
#include <dirent.h>
#include <errno.h>
#include <sys/mman.h>
#include "libjio.h"
#include "common.h"
#include "journal.h"
#include "trans.h"
Go to the source code of this file.
Functions | |
static int | jfsck_cleanup (const char *name, const char *jdir) |
Remove the journal directory (if it's clean). | |
enum jfsck_return | jfsck (const char *name, const char *jdir, struct jfsck_result *res, unsigned int flags) |
Check and repair the given path. |
static int jfsck_cleanup | ( | const char * | name, | |
const char * | jdir | |||
) | [static] |