diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2015-08-05 06:00:03 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-08-09 10:07:13 -0400 |
commit | 4624900dd353488479a12abf8dffe2c1786cdb89 (patch) | |
tree | 808fae6dc5f561e4bf1700919f23c6d9ede45106 /fs/btrfs/relocation.c | |
parent | 4b3576e450a1539492e26e2d7b1e2e69578c032e (diff) |
btrfs: Cleanup: Remove objectid's init-value in create_reloc_inode()
objectid's init-value is not used in any case, remove it.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 1659c94f179c..46989289c6e6 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c | |||
@@ -4144,7 +4144,7 @@ struct inode *create_reloc_inode(struct btrfs_fs_info *fs_info, | |||
4144 | struct btrfs_trans_handle *trans; | 4144 | struct btrfs_trans_handle *trans; |
4145 | struct btrfs_root *root; | 4145 | struct btrfs_root *root; |
4146 | struct btrfs_key key; | 4146 | struct btrfs_key key; |
4147 | u64 objectid = BTRFS_FIRST_FREE_OBJECTID; | 4147 | u64 objectid; |
4148 | int err = 0; | 4148 | int err = 0; |
4149 | 4149 | ||
4150 | root = read_fs_root(fs_info, BTRFS_DATA_RELOC_TREE_OBJECTID); | 4150 | root = read_fs_root(fs_info, BTRFS_DATA_RELOC_TREE_OBJECTID); |