Whamcloud - gitweb
LU-6142 libcfs: discard cfs_firststr 60/40860/2
authorMr NeilBrown <neilb@suse.de>
Tue, 24 Nov 2020 02:28:01 +0000 (13:28 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 22:10:54 +0000 (22:10 +0000)
commitee5eb07d2f41ac603981c49cc7000f8938aefbeb
treead0cada0cf802639a4bc4031ac925771749f160c
parent6c3f0cfb4a8e372e8c3ae612c6eee7b7715fbeb7
LU-6142 libcfs: discard cfs_firststr

The effect of cfs_firststr() can easily achieved with
skip_space() and strsep().

So use that instead.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Idcf8aa50b6aad052f7ee5341ce6d635495aa4990
Reviewed-on: https://review.whamcloud.com/40860
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/include/libcfs/libcfs_string.h
libcfs/libcfs/libcfs_string.c
lustre/mdt/mdt_lproc.c
lustre/obdclass/lprocfs_status_server.c