staging/lustre/ldlm: Remove unused ldlm_pool_set_slv()
Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
865cc738e6
commit
a5613d7545
@ -1402,7 +1402,6 @@ int ldlm_pool_recalc(struct ldlm_pool *pl);
|
||||
__u32 ldlm_pool_get_lvf(struct ldlm_pool *pl);
|
||||
__u64 ldlm_pool_get_slv(struct ldlm_pool *pl);
|
||||
__u32 ldlm_pool_get_limit(struct ldlm_pool *pl);
|
||||
void ldlm_pool_set_slv(struct ldlm_pool *pl, __u64 slv);
|
||||
void ldlm_pool_set_clv(struct ldlm_pool *pl, __u64 clv);
|
||||
void ldlm_pool_set_limit(struct ldlm_pool *pl, __u32 limit);
|
||||
void ldlm_pool_add(struct ldlm_pool *pl, struct ldlm_lock *lock);
|
||||
|
@ -1009,19 +1009,6 @@ __u64 ldlm_pool_get_slv(struct ldlm_pool *pl)
|
||||
}
|
||||
EXPORT_SYMBOL(ldlm_pool_get_slv);
|
||||
|
||||
/**
|
||||
* Sets passed \a slv to \a pl.
|
||||
*
|
||||
* \pre ->pl_lock is not locked.
|
||||
*/
|
||||
void ldlm_pool_set_slv(struct ldlm_pool *pl, __u64 slv)
|
||||
{
|
||||
spin_lock(&pl->pl_lock);
|
||||
pl->pl_server_lock_volume = slv;
|
||||
spin_unlock(&pl->pl_lock);
|
||||
}
|
||||
EXPORT_SYMBOL(ldlm_pool_set_slv);
|
||||
|
||||
/**
|
||||
* Sets passed \a clv to \a pl.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user