[PATCH 4.14 36/63] btrfs: improve error handling of btrfs_add_link