mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04: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:
parent
4889fd37f5
commit
865cc738e6
2 changed files with 0 additions and 17 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue