staging: lustre: use strim instead of cfs_trimwhite.
authorNeilBrown <neilb@suse.com>
Mon, 18 Dec 2017 23:01:47 +0000 (10:01 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:44 +0000 (16:03 +0100)
commit213b14b1fa55790f55b180ed5121b07f037c7ddd
treed2e568faa9927c4c7aa7cb443a4cf01f03508e79
parent8f114acd4e1a9cfa05b70bcc4219bc88197b5c9b
staging: lustre: use strim instead of cfs_trimwhite.

Linux lib provides identical functionality to cfs_trimwhite,
so discard that code and use the standard.

Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_string.h
drivers/staging/lustre/lnet/libcfs/libcfs_string.c
drivers/staging/lustre/lnet/libcfs/linux/linux-cpu.c
drivers/staging/lustre/lnet/lnet/config.c
drivers/staging/lustre/lnet/lnet/router_proc.c