aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2021-10-01 12:52:31 +0000
committerDavid Sterba <[email protected]>2021-10-07 20:06:23 +0000
commite15ac6413745e3def00e663de00aea5a717311c1 (patch)
treea71b5fc0310e02c4df08f75e28dbdfbbe5f18603 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentbtrfs: deal with errors when checking if a dir entry exists during log replay (diff)
downloadkernel-e15ac6413745e3def00e663de00aea5a717311c1.tar.gz
kernel-e15ac6413745e3def00e663de00aea5a717311c1.zip
btrfs: deal with errors when replaying dir entry during log replay
At replay_one_one(), we are 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: [email protected] # 4.14+ Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions