Whamcloud - gitweb
LU-9325 obdclass: use match_table for server mount options 09/51209/11
authorJames Simmons <jsimmons@infradead.org>
Mon, 4 Mar 2024 20:31:43 +0000 (15:31 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 2 Apr 2024 20:59:55 +0000 (20:59 +0000)
commit415fa27540dd444d7d5e42cb8e0c7a3379374b2a
treeb83d5158bdfabb0f289597dcb62c911bb420a2cb
parent84d3585890c4758178cedbef0e4f032bf0eeaa03
LU-9325 obdclass: use match_table for server mount options

We can greatly simplify lmd_parse() by using the match_table
API of the Linux kernel.

Change-Id: I0bc48da25553d9eb18c3cc188536d7dacd09cbd6
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51209
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/obd_mount.c