net/mlx5: Add a locked flag to node removal functions
authorEli Britstein <elibr@mellanox.com>
Thu, 31 Jan 2019 12:38:32 +0000 (14:38 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 11 Mar 2019 18:32:39 +0000 (11:32 -0700)
commit476d61b783e5481bbfaac4518b0b3d2b5addbc19
tree6f6d5eaf6cb433aa562680cc1f2a512cb4482cad
parente7aafc8f048050c7f1274db2ff0db60b0cc95700
net/mlx5: Add a locked flag to node removal functions

Add a locked flag to the node removal functions to signal if the
parent is already locked from the caller function or not as a pre-step
towards outside lock. Currently always use false with no functional
change.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c