mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
staging/lustre/ldlm: Remove unused ldlm_pool_get_clv()
Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4889fd37f5
commit
865cc738e6
@@ -1401,7 +1401,6 @@ int ldlm_pool_setup(struct ldlm_pool *pl, int limit);
|
||||
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);
|
||||
__u64 ldlm_pool_get_clv(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);
|
||||
|
||||
@@ -1022,22 +1022,6 @@ void ldlm_pool_set_slv(struct ldlm_pool *pl, __u64 slv)
|
||||
}
|
||||
EXPORT_SYMBOL(ldlm_pool_set_slv);
|
||||
|
||||
/**
|
||||
* Returns current \a pl CLV.
|
||||
*
|
||||
* \pre ->pl_lock is not locked.
|
||||
*/
|
||||
__u64 ldlm_pool_get_clv(struct ldlm_pool *pl)
|
||||
{
|
||||
__u64 slv;
|
||||
|
||||
spin_lock(&pl->pl_lock);
|
||||
slv = pl->pl_client_lock_volume;
|
||||
spin_unlock(&pl->pl_lock);
|
||||
return slv;
|
||||
}
|
||||
EXPORT_SYMBOL(ldlm_pool_get_clv);
|
||||
|
||||
/**
|
||||
* Sets passed \a clv to \a pl.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user