btrfs: send: handle unexpected inode in header process_recorded_refs()
authorDavid Sterba <dsterba@suse.com>
Tue, 6 Feb 2024 21:47:13 +0000 (22:47 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:51 +0000 (16:24 +0100)
commit5d2288711ccc483feca73151c46ee835bda17839
tree56443b141a2d394ee0fcced5466fad8d8717ae19
parente80e3f732cf53c64b0d811e1581470d67f6c3228
btrfs: send: handle unexpected inode in header process_recorded_refs()

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>
fs/btrfs/send.c