summaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2021-10-01 15:52:32 +0300
committerDavid Sterba <dsterba@suse.com>2021-10-07 23:06:30 +0300
commit52db77791fe24538c8aa2a183248399715f6b380 (patch)
treeeb7e248ad88698709bec79cc3762d6c29b63ccac /tools/perf/util/c++/clang.cpp
parente15ac6413745e3def00e663de00aea5a717311c1 (diff)
downloadlinux-52db77791fe24538c8aa2a183248399715f6b380.tar.xz
btrfs: deal with errors when adding inode reference during log replay
At __inode_add_ref(), we treating any error returned from btrfs_lookup_dir_item() or from btrfs_lookup_dir_index_item() as meaning that there is no existing directory entry in the fs/subvolume tree. This is not correct since we can get errors such as, for example, -EIO when reading extent buffers while searching the fs/subvolume's btree. So fix that and return the error to the caller when it is not -ENOENT. CC: stable@vger.kernel.org # 4.14+ Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions