Revert "btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()"
This reverts commit ccb6b6363d
.
This commit is contained in:
parent
631e573f84
commit
1944f01920
1 changed files with 1 additions and 1 deletions
|
@ -5527,7 +5527,7 @@ struct inode *btrfs_lookup_dentry(struct inode *dir, struct dentry *dentry)
|
||||||
struct inode *inode;
|
struct inode *inode;
|
||||||
struct btrfs_root *root = BTRFS_I(dir)->root;
|
struct btrfs_root *root = BTRFS_I(dir)->root;
|
||||||
struct btrfs_root *sub_root = root;
|
struct btrfs_root *sub_root = root;
|
||||||
struct btrfs_key location = { 0 };
|
struct btrfs_key location;
|
||||||
u8 di_type = 0;
|
u8 di_type = 0;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue