Commit 2adf5e87 authored by Anton Gerasimov's avatar Anton Gerasimov Committed by Greg Kroah-Hartman

staging: lustre: make non-exported functions static

Declare non-exported functions as static.
Signed-off-by: default avatarAnton Gerasimov <anton.gerasimov@openmailbox.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e582487
...@@ -442,7 +442,7 @@ void *lustre_msg_buf(struct lustre_msg *m, int n, int min_size) ...@@ -442,7 +442,7 @@ void *lustre_msg_buf(struct lustre_msg *m, int n, int min_size)
} }
EXPORT_SYMBOL(lustre_msg_buf); EXPORT_SYMBOL(lustre_msg_buf);
int lustre_shrink_msg_v2(struct lustre_msg_v2 *msg, int segment, static int lustre_shrink_msg_v2(struct lustre_msg_v2 *msg, int segment,
unsigned int newlen, int move_data) unsigned int newlen, int move_data)
{ {
char *tail = NULL, *newpos; char *tail = NULL, *newpos;
...@@ -1929,7 +1929,7 @@ void lustre_swab_fid2path(struct getinfo_fid2path *gf) ...@@ -1929,7 +1929,7 @@ void lustre_swab_fid2path(struct getinfo_fid2path *gf)
} }
EXPORT_SYMBOL(lustre_swab_fid2path); EXPORT_SYMBOL(lustre_swab_fid2path);
void lustre_swab_fiemap_extent(struct ll_fiemap_extent *fm_extent) static void lustre_swab_fiemap_extent(struct ll_fiemap_extent *fm_extent)
{ {
__swab64s(&fm_extent->fe_logical); __swab64s(&fm_extent->fe_logical);
__swab64s(&fm_extent->fe_physical); __swab64s(&fm_extent->fe_physical);
...@@ -2405,7 +2405,7 @@ void lustre_swab_hsm_state_set(struct hsm_state_set *hss) ...@@ -2405,7 +2405,7 @@ void lustre_swab_hsm_state_set(struct hsm_state_set *hss)
} }
EXPORT_SYMBOL(lustre_swab_hsm_state_set); EXPORT_SYMBOL(lustre_swab_hsm_state_set);
void lustre_swab_hsm_extent(struct hsm_extent *extent) static void lustre_swab_hsm_extent(struct hsm_extent *extent)
{ {
__swab64s(&extent->offset); __swab64s(&extent->offset);
__swab64s(&extent->length); __swab64s(&extent->length);
......
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