diff --git a/lib/vfs/direntry.c b/lib/vfs/direntry.c index 4d9cf2b1a..e7d308de4 100644 --- a/lib/vfs/direntry.c +++ b/lib/vfs/direntry.c @@ -776,10 +776,10 @@ vfs_s_setctl (const vfs_path_t * vpath, int ctlop, void *arg) if (ino == NULL) return 0; if (arg != NULL) - ino->super->want_stale = 1; + ino->super->want_stale = TRUE; else { - ino->super->want_stale = 0; + ino->super->want_stale = FALSE; vfs_s_invalidate (path_element->class, ino->super); } return 1; diff --git a/lib/vfs/xdirentry.h b/lib/vfs/xdirentry.h index c1b2c9b1d..aaf79a2cb 100644 --- a/lib/vfs/xdirentry.h +++ b/lib/vfs/xdirentry.h @@ -66,7 +66,7 @@ struct vfs_s_super char *name; /* My name, whatever it means */ int fd_usage; /* Number of open files */ int ino_usage; /* Usage count of this superblock */ - int want_stale; /* If set, we do not flush cache properly */ + gboolean want_stale; /* If set, we do not flush cache properly */ #ifdef ENABLE_VFS_NET vfs_path_element_t *path_element; #endif /* ENABLE_VFS_NET */