Whamcloud - gitweb
LU-13134 llite: fix to free cl_dio_aio properly 03/39103/6
authorWang Shilong <wshilong@ddn.com>
Fri, 19 Jun 2020 13:59:42 +0000 (21:59 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 Jul 2020 03:04:34 +0000 (03:04 +0000)
commitf71a539c3e41bae750bcb54b0f9159670148176b
tree78bfcb7f6b6765aaa531587cda648f65146a1ec5
parentbbb14d40a4be6a9172b80ed3208f81be2f1d1b66
LU-13134 llite: fix to free cl_dio_aio properly

@cl_dio_aio is allocated by slab, we should use slab
free helper to free its memory.

Fixes: 3db1d ("LU-13134 obdclass: use slab allocation for cl_dio_aio")
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Ic82f4dec5e9bb6de7a531c224fa23248d4f7d63d
Reviewed-on: https://review.whamcloud.com/39103
Reviewed-by: Patrick Farrell <farr0186@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/cl_object.h
lustre/llite/rw26.c
lustre/obdclass/cl_io.c