diff options
author | Josef Bacik <jbacik@fb.com> | 2015-11-05 14:37:58 -0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-11-25 05:22:08 -0800 |
commit | 2d9e97761087b46192c18181dfd1e7a930defcfd (patch) | |
tree | d031b22a4c19005adfac46cc202d5112565ae7a8 /kernel/audit.c | |
parent | 967ef5131e42d6e3bb216c44161d893048a49957 (diff) | |
download | linux-stable-2d9e97761087b46192c18181dfd1e7a930defcfd.tar.gz linux-stable-2d9e97761087b46192c18181dfd1e7a930defcfd.tar.bz2 linux-stable-2d9e97761087b46192c18181dfd1e7a930defcfd.zip |
Btrfs: use btrfs_get_fs_root in resolve_indirect_ref
The backref code will look up the fs_root we're trying to resolve our indirect
refs for, unfortunately we use btrfs_read_fs_root_no_name, which returns -ENOENT
if the ref is 0. This isn't helpful for the qgroup stuff with snapshot delete
as it won't be able to search down the snapshot we are deleting, which will
cause us to miss roots. So use btrfs_get_fs_root and send false for check_ref
so we can always get the root we're looking for. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions