Missing 'break' in the switch statement meant that we'd fall through to the 'return -EINVAL' case.
拖放文件到此处或点击上传