mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
Staging: lustre: ptlrpc: Declare sptlrpc_rule_set_expand as static
Declare sptlrpc_rule_set_expand as static since it is accessed from this particular file only. Also remove its declaration from header file Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
337349fb59
commit
57552bf00f
@@ -329,7 +329,6 @@ static inline void sptlrpc_rule_set_init(struct sptlrpc_rule_set *set)
|
||||
memset(set, 0, sizeof(*set));
|
||||
}
|
||||
|
||||
int sptlrpc_rule_set_expand(struct sptlrpc_rule_set *set);
|
||||
int sptlrpc_rule_set_choose(struct sptlrpc_rule_set *rset,
|
||||
enum lustre_sec_part from,
|
||||
enum lustre_sec_part to,
|
||||
|
||||
@@ -229,7 +229,7 @@ static void sptlrpc_rule_set_free(struct sptlrpc_rule_set *rset)
|
||||
/*
|
||||
* return 0 if the rule set could accommodate one more rule.
|
||||
*/
|
||||
int sptlrpc_rule_set_expand(struct sptlrpc_rule_set *rset)
|
||||
static int sptlrpc_rule_set_expand(struct sptlrpc_rule_set *rset)
|
||||
{
|
||||
struct sptlrpc_rule *rules;
|
||||
int nslot;
|
||||
|
||||
Reference in New Issue
Block a user