]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix qgroup sanity tests
authorJosef Bacik <jbacik@fb.com>
Mon, 5 Oct 2015 14:35:29 +0000 (10:35 -0400)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:51:41 +0000 (18:51 -0700)
commitae8c89401ca09fcff224a886fd911117a7527b4c
tree628b6b1d8a1f1561d6e93bab27e0e99f809c9182
parente9854e5535fd44b3186e19aac8969bff628c3c80
Btrfs: fix qgroup sanity tests

With my changes to allow us to find old roots when resolving indirect refs I
introduced a regression to the sanity tests.  Since we don't really care to go
down into the fs roots we just need to have the old behavior of returning ENOENT
for dummy roots for the sanity tests.  In the future if we want to get fancy we
can populate the test fs trees with the references as well.  Thanks,

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