From c7a1282878f2f0dbf9e180bbe6e2603264eb736c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 3 May 2019 16:00:49 +0000 Subject: [PATCH] scst_vdisk: Add a source code comment git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8325 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index d17df0968..dbfe1e1e4 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3128,6 +3128,10 @@ static void scst_do_verify_work(struct work_struct *work) } #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0) +/* + * See also commit 2ba48ce513c4 ("mirror O_APPEND and O_DIRECT into + * iocb->ki_flags") # v4.1. + */ static bool do_fileio_async(const struct vdisk_cmd_params *p) { struct scst_cmd *cmd = p->cmd;