Whamcloud - gitweb
LU-9859 ptlrpc: simplify nrs_tbf_opcode_list_parse() 37/50837/13
authorMr NeilBrown <neilb@suse.de>
Wed, 19 Jul 2023 18:15:57 +0000 (14:15 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Aug 2023 05:36:31 +0000 (05:36 +0000)
commita1dc44aef0382be712da7a9579876b6bbc48f815
tree489e8aba3b8f4a5a9fd74eff2ba9bf599eaff5c4
parentb7b55534b9b5d4d58025082ae5403938853b168c
LU-9859 ptlrpc: simplify nrs_tbf_opcode_list_parse()

If nrs_tbf_opcode_list_parse() duplicates the string it is passed, it
can use standard mutating functions for parsing the string.

Test-Parameters: trivial
Test-Parameters: testlist=sanityn
Test-Parameters: testlist=sanity
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I4acb57de52abde97fa9c2d133cf10a432b12f604
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50837
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/nrs_tbf.c