summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-01 18:59:40 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-01 18:59:40 -0500
commited2ff2cba766dfe7976a0113f667c9a0a50dff02 (patch)
treecbae5fcf89fa248c656f2c27532b15f34107d93f /fs/btrfs/ctree.h
parent79f95c82dca7665f32bafd68b7cdf4a01fab0840 (diff)
downloadlwn-ed2ff2cba766dfe7976a0113f667c9a0a50dff02.tar.gz
lwn-ed2ff2cba766dfe7976a0113f667c9a0a50dff02.zip
Btrfs: pretend page cache & commit code
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 18daccd84535..6b4dabd47698 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1,6 +1,8 @@
#ifndef __CTREE__
#define __CTREE__
+#include "list.h"
+
#define CTREE_BLOCKSIZE 1024
/*
@@ -53,6 +55,9 @@ struct ctree_root {
struct key current_insert;
int fp;
struct radix_tree_root cache_radix;
+ struct list_head trans;
+ struct list_head cache;
+ int cache_size;
};
/*