mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 18:40:25 -04:00
Staging: lustre: obdclass: Declare local function cl_lock_mutex_try as static
Function cl_lock_mutex_try has been used only in this particular file. Thus declare the function as static. 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
fb23589587
commit
5e6f5901f0
@@ -687,7 +687,7 @@ EXPORT_SYMBOL(cl_lock_mutex_get);
|
||||
*
|
||||
* \see cl_lock_mutex_get()
|
||||
*/
|
||||
int cl_lock_mutex_try(const struct lu_env *env, struct cl_lock *lock)
|
||||
static int cl_lock_mutex_try(const struct lu_env *env, struct cl_lock *lock)
|
||||
{
|
||||
int result;
|
||||
|
||||
@@ -705,7 +705,6 @@ int cl_lock_mutex_try(const struct lu_env *env, struct cl_lock *lock)
|
||||
result = -EBUSY;
|
||||
return result;
|
||||
}
|
||||
EXPORT_SYMBOL(cl_lock_mutex_try);
|
||||
|
||||
/**
|
||||
{* Unlocks cl_lock object.
|
||||
|
||||
Reference in New Issue
Block a user