aboutsummaryrefslogtreecommitdiffstats
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)
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 @@
1#ifndef __CTREE__ 1#ifndef __CTREE__
2#define __CTREE__ 2#define __CTREE__
3 3
4#include "list.h"
5
4#define CTREE_BLOCKSIZE 1024 6#define CTREE_BLOCKSIZE 1024
5 7
6/* 8/*
@@ -53,6 +55,9 @@ struct ctree_root {
53 struct key current_insert; 55 struct key current_insert;
54 int fp; 56 int fp;
55 struct radix_tree_root cache_radix; 57 struct radix_tree_root cache_radix;
58 struct list_head trans;
59 struct list_head cache;
60 int cache_size;
56}; 61};
57 62
58/* 63/*