diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-06-01 10:45:14 +0100 |
|---|---|---|
| committer | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2026-06-09 18:22:46 +0200 |
| commit | dad845f192eb2684ec0c4cb72d184de4cef0808c (patch) | |
| tree | af5f24e648ad21ddf941cfbc202c0acd0bf6937e /include/linux/timerqueue_types.h | |
| parent | 00608e34167faca9dabc8baabc6ea0813dd7e2ae (diff) | |
btrfs: return real error after lookup failure in btrfs_ioctl_default_subvol()
If we fail to lookup the dir item, we are always returning -ENOENT but
that may not be the reason for the failure, as btrfs_lookup_dir_item() can
return many different errors, such as -EIO or -ENOMEM for example.
Fix this by returning the real error, and also fixup the silly error
message, including the id of the directory and the error.
Reviewed-by: Qu Wenruo <wqu@suse.com>
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 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
