projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3576e
)
btrfs: Cleanup: Remove objectid's init-value in create_reloc_inode()
author
Zhaolei
<zhaolei@cn.fujitsu.com>
Wed, 5 Aug 2015 10:00:03 +0000
(18:00 +0800)
committer
Chris Mason
<clm@fb.com>
Sun, 9 Aug 2015 14:07:13 +0000
(07:07 -0700)
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>
fs/btrfs/relocation.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/relocation.c
b/fs/btrfs/relocation.c
index
1659c94
..
4698928
100644
(file)
--- 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,
struct btrfs_trans_handle *trans;
struct btrfs_root *root;
struct btrfs_key key;
- u64 objectid
= BTRFS_FIRST_FREE_OBJECTID
;
+ u64 objectid;
int err = 0;
root = read_fs_root(fs_info, BTRFS_DATA_RELOC_TREE_OBJECTID);