summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-08-27 22:49:44 +0200
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-08-27 22:49:44 +0200
commita52d9a8033c454cd9b4697cfafb467509fc1693f (patch)
tree83d8bbf2df29598ea9c60498fadf5990262a11c8 /fs/btrfs/btrfs_inode.h
parentBtrfs: Make sure to cow the root during a snapshot (diff)
downloadlinux-a52d9a8033c454cd9b4697cfafb467509fc1693f.tar.xz
linux-a52d9a8033c454cd9b4697cfafb467509fc1693f.zip
Btrfs: Extent based page cache code. This uses an rbtree of extents and tests
instead of buffer heads. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index f446f161f736..d1d5af471c3c 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -19,11 +19,14 @@
#ifndef __BTRFS_I__
#define __BTRFS_I__
+#include "extent_map.h"
+
/* in memory btrfs inode */
struct btrfs_inode {
struct btrfs_root *root;
struct btrfs_block_group_cache *block_group;
struct btrfs_key location;
+ struct extent_map_tree extent_tree;
struct inode vfs_inode;
/*