[PATCH 6.12 036/567] smb/server: fix return value of smb2_ioctl()