Skip to content
Commit 9132c4ff authored by Su Yue's avatar Su Yue Committed by David Sterba
Browse files

btrfs: return ENOMEM if path allocation fails in btrfs_cross_ref_exist



The error code does not match the reason of failure and may confuse the
callers.

Signed-off-by: default avatarSu Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 1389053e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment