* All Rights Reserved.
*/
-#if defined(HAVE_FALLOCATE)
#include <linux/falloc.h>
-#endif
#include "command.h"
#include "input.h"
#include "init.h"
static cmdinfo_t resvsp_cmd;
static cmdinfo_t unresvsp_cmd;
static cmdinfo_t zero_cmd;
-#if defined(HAVE_FALLOCATE)
static cmdinfo_t falloc_cmd;
static cmdinfo_t fpunch_cmd;
static cmdinfo_t fcollapse_cmd;
static cmdinfo_t finsert_cmd;
static cmdinfo_t fzero_cmd;
static cmdinfo_t funshare_cmd;
-#endif
static int
offset_length(
}
-#if defined (HAVE_FALLOCATE)
static void
falloc_help(void)
{
}
return 0;
}
-#endif /* HAVE_FALLOCATE */
void
prealloc_init(void)
add_command(&unresvsp_cmd);
add_command(&zero_cmd);
-#if defined (HAVE_FALLOCATE)
falloc_cmd.name = "falloc";
falloc_cmd.cfunc = fallocate_f;
falloc_cmd.argmin = 2;
funshare_cmd.oneline =
_("unshares shared blocks within the range");
add_command(&funshare_cmd);
-#endif /* HAVE_FALLOCATE */
}