On 2019/8/5 15:27, Lihong Kou wrote: > We will do the same check in generic_write_checks. > if (iocb->ki_flags & IOCB_NOWAIT) && !(iocb->ki_flags & IOCB_DIRECT) > return -EINVAL; > just remove the same check in f2fs_file_write_iter. > > Signed-off-by: Lihong Kou <koulihong@xxxxxxxxxx> Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx> Thanks,