[PATCH 6.1 244/634] smb/server: fix return value of smb2_ioctl()