diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 4bf28f746..cd3156a9a 100755 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5527,7 +5527,7 @@ struct inode *btrfs_lookup_dentry(struct inode *dir, struct dentry *dentry) struct inode *inode; struct btrfs_root *root = BTRFS_I(dir)->root; struct btrfs_root *sub_root = root; - struct btrfs_key location; + struct btrfs_key location = { 0 }; u8 di_type = 0; int ret = 0;