summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-20 06:08:28 +0000
committerMiles Bader <miles@gnu.org>1996-07-20 06:08:28 +0000
commit59e46d5a5ba87652b80fedc3e5062937c59f9e65 (patch)
tree9df41db40360ed46280d64bbc2473bc67cad082d
parent9f1485b34db18a36603c030099ce49718bac8a0d (diff)
(struct disknode): Remove debugging info.
(RECORD_LAST): Function removed. (LAST_BUFSZ): Macro removed. (enum last_act): Type removed.
-rw-r--r--ext2fs/ext2fs.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 2b3a95a7..8a4bde9d 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -138,10 +138,6 @@ void *memscan(void *buf, unsigned char ch, unsigned len);
/* ---------------------------------------------------------------- */
-/* XXX debugging */
-enum last_act { LAST_UNLOCK, LAST_TRUNCATE, LAST_READ, LAST_WRITE, LAST_GROW };
-#define LAST_BUFSZ 32
-
/* ext2fs specific per-file data. */
struct disknode
{
@@ -167,23 +163,8 @@ struct disknode
/* True if the last page of the file has been made writable, but is only
partially allocated. */
int last_page_partially_writable;
-
- /* XXX debugging */
- enum last_act last_acts[LAST_BUFSZ];
- vm_offset_t last_addrs[LAST_BUFSZ];
- int last_offs;
};
-extern inline void
-RECORD_LAST (struct disknode *dn, enum last_act act, vm_offset_t addr)
-{
- if (dn->last_offs == LAST_BUFSZ)
- dn->last_offs = 0;
- dn->last_acts[dn->last_offs] = act;
- dn->last_addrs[dn->last_offs] = addr;
- dn->last_offs++;
-}
-
struct user_pager_info
{
enum pager_type