/*
- * $Id: store_dir_aufs.cc,v 1.43 2002/04/06 15:08:05 hno Exp $
+ * $Id: store_dir_aufs.cc,v 1.44 2002/04/07 11:52:33 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
storeAufsDirWriteCleanStart(SwapDir * sd)
{
struct _clean_state *state = xcalloc(1, sizeof(*state));
+#if HAVE_FCHMOD
struct stat sb;
+#endif
sd->log.clean.write = NULL;
sd->log.clean.state = NULL;
state->new = xstrdup(storeAufsDirSwapLogFile(sd, ".clean"));
/*
- * $Id: store_dir_coss.cc,v 1.32 2002/04/06 08:49:43 adrian Exp $
+ * $Id: store_dir_coss.cc,v 1.33 2002/04/07 11:52:33 hno Exp $
*
* DEBUG: section 81 Store COSS Directory Routines
* AUTHOR: Eric Stern
{
CossInfo *cs = (CossInfo *) sd->fsdata;
struct _clean_state *state = xcalloc(1, sizeof(*state));
+#if HAVE_FCHMOD
struct stat sb;
+#endif
state->new = xstrdup(storeCossDirSwapLogFile(sd, ".clean"));
state->fd = file_open(state->new, O_WRONLY | O_CREAT | O_TRUNC);
if (state->fd < 0) {
/*
- * $Id: store_dir_diskd.cc,v 1.63 2002/04/06 12:54:42 hno Exp $
+ * $Id: store_dir_diskd.cc,v 1.64 2002/04/07 11:52:33 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
storeDiskdDirWriteCleanStart(SwapDir * sd)
{
struct _clean_state *state = xcalloc(1, sizeof(*state));
+#if HAVE_FCHMOD
struct stat sb;
+#endif
sd->log.clean.write = NULL;
sd->log.clean.state = NULL;
state->new = xstrdup(storeDiskdDirSwapLogFile(sd, ".clean"));
/*
- * $Id: store_dir_ufs.cc,v 1.42 2002/04/06 08:49:44 adrian Exp $
+ * $Id: store_dir_ufs.cc,v 1.43 2002/04/07 11:52:34 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
storeUfsDirWriteCleanStart(SwapDir * sd)
{
struct _clean_state *state = xcalloc(1, sizeof(*state));
+#if HAVE_FCHMOD
struct stat sb;
+#endif
sd->log.clean.write = NULL;
sd->log.clean.state = NULL;
state->new = xstrdup(storeUfsDirSwapLogFile(sd, ".clean"));