mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
scst_vdisk: Follow-up for r7985
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3311,8 +3311,8 @@ static enum compl_status_e fileio_exec_async(struct vdisk_cmd_params *p)
|
||||
} else {
|
||||
ret = call_read_iter(fd, iocb, &iter);
|
||||
}
|
||||
if (p->async.kvec != p->async.small_kvec)
|
||||
kfree(p->async.kvec);
|
||||
if (p->async.bvec != p->async.small_bvec)
|
||||
kfree(p->async.bvec);
|
||||
if (ret != -EIOCBQUEUED)
|
||||
fileio_async_complete(iocb, ret, 0);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user