check.c File Reference

#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"

Include dependency graph for check.c:

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.


Function Documentation

static int jfsck_cleanup ( const char *  name,
const char *  jdir 
) [static]

Remove the journal directory (if it's clean).

Parameters:
name path to the file
jdir path to the journal directory
Returns:
0 on success, < 0 on error

Definition at line 30 of file check.c.

Referenced by jfsck().

Here is the caller graph for this function:


Generated on Sat Sep 12 13:33:30 2009 for libjio (internal) by  doxygen 1.5.8