]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: check to see if we have an inline item properly
authorJosef Bacik <jbacik@fusionio.com>
Tue, 30 Jul 2013 19:44:09 +0000 (15:44 -0400)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:04:40 +0000 (08:04 -0400)
commit6fb061a3854937d9e2c1c70ae6972be113085056
treefd3bd85c629c61ccdfbc87f5f31f488b887736f0
parent6d5d86790daf424ec1ab9768cc578691cba9c211
Btrfs: check to see if we have an inline item properly

If our item isn't big enough to have an actual inline item when we have skinny
metadata enabled just return 1 in find_inline_backref so we can move on to the
next item.  This probably wasn't causing a problem since we check the values of
ptr and end properly, but just in case this will keep us from doing extra work.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/relocation.c