[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0bcef312-96b0-4630-6001-e3e2fe102e71@huawei.com>
Date: Mon, 5 Aug 2019 15:29:39 +0800
From: Chao Yu <yuchao0@...wei.com>
To: Lihong Kou <koulihong@...wei.com>, <jaegeuk@...nel.org>
CC: <fangwei1@...wei.com>, <linux-f2fs-devel@...ts.sourceforge.net>,
<linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [f2fs-dev] [PATCH] f2fs: remove duplicate code in
f2fs_file_write_iter
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@...wei.com>
Reviewed-by: Chao Yu <yuchao0@...wei.com>
Thanks,
Powered by blists - more mailing lists