mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
Apparently the Linux kernel v4.20 iov_iter_kvec() function has been backported to RHEL / CentOS 8.2. This patch fixes the following kernel warning: WARNING: CPU: 26 PID: 21141 at lib/iov_iter.c:1083 iov_iter_kvec+0x25/0x30 Call Trace: fileio_exec_async+0x216/0x3a0 [scst_vdisk] fileio_exec_write+0x3b9/0x450 [scst_vdisk] vdev_do_job+0x34/0xc0 [scst_vdisk] scst_do_real_exec+0x54/0x100 [scst] scst_exec_check_blocking+0xbb/0x210 [scst] scst_process_active_cmd+0x64d/0x1550 [scst] scst_cmd_thread+0x170/0x5a0 [scst] kthread+0x112/0x130 ret_from_fork+0x35/0x40 See also https://github.com/bvanassche/scst/issues/26. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9026 d57e44dd-8a1f-0410-8b47-8ef2f437770f