Whamcloud - gitweb
LU-17673 llite: ll_options() to release the string 54/54554/4
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 25 Mar 2024 07:39:51 +0000 (10:39 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2024 15:38:14 +0000 (15:38 +0000)
commit552a813a22e92e2964fc9cc3c47b768185d54bdc
tree6f9554eb9bfbfbefa79095a21c674ae036178239
parent4ae823762db40d790ddd00c29e969b5c8e376430
LU-17673 llite: ll_options() to release the string

the final strsep() sets opts to NULL so kfree() becomes no-op.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I18a0d3556fa2932c217d9e705af9e5b5720a364b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54554
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/llite_lib.c