[PATCH AUTOSEL 6.18-6.1] smb/server: fix return value of smb2_ioctl()