From 8c6a19783e149dda1ab9143f48badfa617478e6e Mon Sep 17 00:00:00 2001 From: Barak Sason Rofman Date: Tue, 5 Nov 2019 15:54:29 +0200 Subject: glusterd: refactoring long method - Refactored set_fuse_mount_options(...) in order to shorten it. - Removed dead code and moved some method to it's apropriate location. - Converted loggin in set_fuse_mount_options(...) to structured logs fixes: bz#1768896 Change-Id: If865833d4c60d517da202871978691ef21235fe4 Signed-off-by: Barak Sason Rofman --- libglusterfs/src/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c index 679d8a2d25d..64e77e095a2 100644 --- a/libglusterfs/src/graph.c +++ b/libglusterfs/src/graph.c @@ -469,7 +469,7 @@ _xlator_check_unknown_options(xlator_t *xl, void *data) dict_foreach(xl->options, _log_if_unknown_option, xl); } -int +static int glusterfs_graph_unknown_options(glusterfs_graph_t *graph) { xlator_foreach(graph->first, _xlator_check_unknown_options, NULL); -- cgit