Commit 5e6f5901 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

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: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb235895
...@@ -687,7 +687,7 @@ EXPORT_SYMBOL(cl_lock_mutex_get); ...@@ -687,7 +687,7 @@ EXPORT_SYMBOL(cl_lock_mutex_get);
* *
* \see 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; int result;
...@@ -705,7 +705,6 @@ int cl_lock_mutex_try(const struct lu_env *env, struct cl_lock *lock) ...@@ -705,7 +705,6 @@ int cl_lock_mutex_try(const struct lu_env *env, struct cl_lock *lock)
result = -EBUSY; result = -EBUSY;
return result; return result;
} }
EXPORT_SYMBOL(cl_lock_mutex_try);
/** /**
{* Unlocks cl_lock object. {* Unlocks cl_lock object.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment