btrfs: add missing sctx check in cleanup path in btrfs_ioctl_send()

Add sctx NULL check in the for loop condition of the sort_clone_roots
cleanup path for consistency with the else branch.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Hongling Zeng 2026-07-14 09:28:50 +08:00 • committed by David Sterba
commit f18dbadb52