btrfs: send: handle unexpected inode in header process_recorded_refs()

[ Upstream commit 5d2288711c ]

Change BUG_ON to proper error handling when an unexpected inode number
is encountered. As the comment says this should never happen.

Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
David Sterba 2024-02-06 22:47:13 +01:00 • committed by Greg Kroah-Hartman
commit 48256173f2