]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: lustre: libcfs: remove wi_data from cfs_workitem
authorNeilBrown <neilb@suse.com>
Mon, 18 Dec 2017 01:25:19 +0000 (12:25 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:44 +0000 (16:03 +0100)
commit19ae89d32503493315dec77919815d3add851389
tree188befc0d1730df340b0010573e472590beae9c4
parent0aa211e39857f17e24126c47f6e3fe3b971344b3
staging: lustre: libcfs: remove wi_data from cfs_workitem

In every case, the value passed via wi_data can be determined
from the cfs_workitem pointer using container_of().

So use container_of(), and discard wi_data.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_workitem.h
drivers/staging/lustre/lnet/selftest/framework.c
drivers/staging/lustre/lnet/selftest/rpc.c
drivers/staging/lustre/lnet/selftest/selftest.h