diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-10-29 15:17:41 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-10-29 15:17:41 -0400 |
commit | d8e39c457bc1ca2a7304bc086c7b0f0c10854921 (patch) | |
tree | da2f37292b8021dfe90aa9803ee85f9f95acedf5 /fs/btrfs | |
parent | 559af8211433b8c0b20e6c43c61409cb9c9c2996 (diff) | |
download | op-kernel-dev-d8e39c457bc1ca2a7304bc086c7b0f0c10854921.zip op-kernel-dev-d8e39c457bc1ca2a7304bc086c7b0f0c10854921.tar.gz |
Btrfs: drop unused variable in block_alloc_rsv
The alloc_target variable is not really used.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index df75410..a541bc8 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -3607,18 +3607,14 @@ struct btrfs_block_rsv *btrfs_alloc_block_rsv(struct btrfs_root *root) { struct btrfs_block_rsv *block_rsv; struct btrfs_fs_info *fs_info = root->fs_info; - u64 alloc_target; block_rsv = kmalloc(sizeof(*block_rsv), GFP_NOFS); if (!block_rsv) return NULL; btrfs_init_block_rsv(block_rsv); - - alloc_target = btrfs_get_alloc_profile(root, 0); block_rsv->space_info = __find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); - return block_rsv; } |