Whamcloud - gitweb
LU-13134 llite: fix to free cl_dio_aio properly
[fs/lustre-release.git] / lustre / llite / rw26.c
index 28b85c0..d6b6196 100644 (file)
@@ -492,8 +492,7 @@ out:
                        vio->u.write.vui_written += tot_bytes;
                        result = tot_bytes;
                }
-               OBD_FREE_PTR(aio);
-
+               cl_aio_free(aio);
        } else {
                result = -EIOCBQUEUED;
        }