Commit 6ef3f3c7 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: lustre: osc: Declare as static

Declare osc_extent_find and osc_unreserve_grant as static since they
are used only in this particular file.
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62dc2f66
...@@ -619,7 +619,7 @@ static inline int overlapped(struct osc_extent *ex1, struct osc_extent *ex2) ...@@ -619,7 +619,7 @@ static inline int overlapped(struct osc_extent *ex1, struct osc_extent *ex2)
* Find or create an extent which includes @index, core function to manage * Find or create an extent which includes @index, core function to manage
* extent tree. * extent tree.
*/ */
struct osc_extent *osc_extent_find(const struct lu_env *env, static struct osc_extent *osc_extent_find(const struct lu_env *env,
struct osc_object *obj, pgoff_t index, struct osc_object *obj, pgoff_t index,
int *grants) int *grants)
...@@ -1420,7 +1420,7 @@ static void __osc_unreserve_grant(struct client_obd *cli, ...@@ -1420,7 +1420,7 @@ static void __osc_unreserve_grant(struct client_obd *cli,
} }
} }
void osc_unreserve_grant(struct client_obd *cli, static void osc_unreserve_grant(struct client_obd *cli,
unsigned int reserved, unsigned int unused) unsigned int reserved, unsigned int unused)
{ {
client_obd_list_lock(&cli->cl_loi_list_lock); client_obd_list_lock(&cli->cl_loi_list_lock);
......
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