commit | 0b86f78920919cf36239f4e187ebad7f5d78b5f8 | [log] [tgz] |
---|---|---|
author | Lihong Kou <[email protected]> | Mon Aug 05 15:27:24 2019 +0800 |
committer | Jaegeuk Kim <[email protected]> | Fri Aug 23 07:57:14 2019 -0700 |
tree | 1eefbc7eee784e8c2ec650cfca37f5bdfec2252c | |
parent | d3a1a0e1bf5d4d2107d6b485c5d33e65acaa7cf6 [diff] |
f2fs: remove duplicate code in f2fs_file_write_iter 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 <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>