summaryrefslogtreecommitdiff
path: root/fs/cifs/dns_resolve.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-12-18 17:20:29 -0500
committerDavid Sterba <dsterba@suse.com>2020-01-08 14:44:24 +0100
commit423a716cd7be16fb08690760691befe3be97d3fc (patch)
tree4a1e3f9dcd3a58b5122271792a53c2510698fce3 /fs/cifs/dns_resolve.h
parentd49d3287e74ffe55ae7430d1e795e5f9bf7359ea (diff)
btrfs: do not delete mismatched root refs
btrfs_del_root_ref() will simply WARN_ON() if the ref doesn't match in any way, and then continue to delete the reference. This shouldn't happen, we have these values because there's more to the reference than the original root and the sub root. If any of these checks fail, return -ENOENT. CC: stable@vger.kernel.org # 4.4+ Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/cifs/dns_resolve.h')
0 files changed, 0 insertions, 0 deletions