diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-08-27 16:49:44 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-08-27 16:49:44 -0400 |
commit | a52d9a8033c454cd9b4697cfafb467509fc1693f (patch) | |
tree | 83d8bbf2df29598ea9c60498fadf5990262a11c8 /fs/btrfs/super.c | |
parent | 83df7c1d8b885e216c68c3f0469bec9b93666b74 (diff) |
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/super.c')
-rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 74f3de47423c..7b7c32c73a2c 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -185,6 +185,7 @@ static int __init init_btrfs_fs(void) | |||
185 | err = btrfs_init_cachep(); | 185 | err = btrfs_init_cachep(); |
186 | if (err) | 186 | if (err) |
187 | return err; | 187 | return err; |
188 | extent_map_init(); | ||
188 | return register_filesystem(&btrfs_fs_type); | 189 | return register_filesystem(&btrfs_fs_type); |
189 | } | 190 | } |
190 | 191 | ||
@@ -192,6 +193,7 @@ static void __exit exit_btrfs_fs(void) | |||
192 | { | 193 | { |
193 | btrfs_exit_transaction_sys(); | 194 | btrfs_exit_transaction_sys(); |
194 | btrfs_destroy_cachep(); | 195 | btrfs_destroy_cachep(); |
196 | extent_map_exit(); | ||
195 | unregister_filesystem(&btrfs_fs_type); | 197 | unregister_filesystem(&btrfs_fs_type); |
196 | } | 198 | } |
197 | 199 | ||