]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Btrfs: don't check nodes for extent items
authorJosef Bacik <jbacik@fb.com>
Thu, 5 Jun 2014 20:08:45 +0000 (16:08 -0400)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:21:14 +0000 (17:21 -0700)
commit8a56457f5f8fa7c2698ffae8545214c5b96a2cb5
treeb753f0914525e7bfe712d140e698ea81d29f6d3d
parent6fdef6d43cb897bcbbed13786e8cc8cccabc442a
Btrfs: don't check nodes for extent items

The backref code was looking at nodes as well as leaves when we tried to
populate extent item entries.  This is not good, and although we go away with it
for the most part because we'd skip where disk_bytenr != random_memory,
sometimes random_memory would match and suddenly boom.  This fixes that problem.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/backref.c