On Fri, Nov 24, 2023 at 12:16:55AM +0000, Filipe Manana wrote:
On Fri, Nov 24, 2023 at 12:08 AM David Sterba dsterba@suse.com wrote:
When the send protocol versioning was added in 5.16 e77fbf990316 ("btrfs: send: prepare for v2 protocol"), the 32/64bit compat code was not updated (added by 2351f431f727 ("btrfs: fix send ioctl on 32bit with 64bit kernel")), missing the version struct member. The compat code is probably rarely used, nobody reported any bugs.
Found by tool https://github.com/jirislaby/clang-struct .
Fixes: 2351f431f727 ("btrfs: fix send ioctl on 32bit with 64bit kernel")
So this is not the correct commit, you copy-pasted the wrong one from the change log above, it should be:
e77fbf990316 ("btrfs: send: prepare for v2 protocol")
Of course, fixed, thanks.