diff options
author | Filipe Manana <fdmanana@suse.com> | 2021-10-01 13:48:18 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-10-07 22:06:34 +0200 |
commit | cfd312695b71df04c3a2597859ff12c470d1e2e4 (patch) | |
tree | 8fe47fd11c51f33a9b6288c308b9b9ee87731954 /fs/btrfs/struct-funcs.c | |
parent | 8dcbc26194eb872cc3430550fb70bb461424d267 (diff) | |
download | lwn-cfd312695b71df04c3a2597859ff12c470d1e2e4.tar.gz lwn-cfd312695b71df04c3a2597859ff12c470d1e2e4.zip |
btrfs: check for error when looking up inode during dir entry replay
At replay_one_name(), we are treating any error from btrfs_lookup_inode()
as if the inode does not exists. Fix this by checking for an error and
returning it to the caller.
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 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions