diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-20 18:34:43 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 07:57:21 -0400 |
commit | a8067e022ab54fde8953880a64572c3acca644dc (patch) | |
tree | b132e3e1661a26974114e7c3111e63373d49c94a /fs/btrfs/inode.c | |
parent | f993c883ad8e111fb9e9ae603540acbe94f7246c (diff) |
btrfs: drop unused parameter from extent_map_tree_init
the GFP flags are not stored anywhere and all allocations are done via
alloc_extent_map(GFP_NOFS).
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 3c98164f8b24..f54c015cc294 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -6785,7 +6785,7 @@ struct inode *btrfs_alloc_inode(struct super_block *sb) | |||
6785 | ei->force_compress = BTRFS_COMPRESS_NONE; | 6785 | ei->force_compress = BTRFS_COMPRESS_NONE; |
6786 | 6786 | ||
6787 | inode = &ei->vfs_inode; | 6787 | inode = &ei->vfs_inode; |
6788 | extent_map_tree_init(&ei->extent_tree, GFP_NOFS); | 6788 | extent_map_tree_init(&ei->extent_tree); |
6789 | extent_io_tree_init(&ei->io_tree, &inode->i_data); | 6789 | extent_io_tree_init(&ei->io_tree, &inode->i_data); |
6790 | extent_io_tree_init(&ei->io_failure_tree, &inode->i_data); | 6790 | extent_io_tree_init(&ei->io_failure_tree, &inode->i_data); |
6791 | mutex_init(&ei->log_mutex); | 6791 | mutex_init(&ei->log_mutex); |