Whamcloud - gitweb
LU-6142 libcfs: remove last use of container_of0 21/39321/2
authorJames Simmons <jsimmons@infradead.org>
Wed, 8 Jul 2020 18:54:19 +0000 (14:54 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 12 Sep 2020 15:44:12 +0000 (15:44 +0000)
commit0b76a22f1ffa5b0f2a173b5a5580c035cbb6fef5
tree348c09cd7d16f317b6b2909fa53b38e9c6e49601
parent4a9ea62c6ac8d0f1ae8807aed78415adef4edc58
LU-6142 libcfs: remove last use of container_of0

Remove the last use of container_of0 in osd_ldiskfs. Looking at
the code using container_of is safe to use since the handle
shouldn't be NULL or PTR_ERR.

Change-Id: Id018543997884825d1c3cee76de3a520fc3b7c18
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/39321
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs.h
lustre/osd-ldiskfs/osd_handler.c