diff options
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 | ||