summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/include
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-08 01:36:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 10:21:08 +0100
commitfcdf51c179d50e71ce9e5a11d87c32baef3c1004 (patch)
tree36554ff0da04e95366491a2991cfd7adb52ee1f1 /drivers/staging/lustre/lustre/include
parent17ad0ce6058df4a3d85024e86ce554ff1f559cbb (diff)
Staging: lustre: ptlrpc: pack_generic: Declare local functions as static
Declare lustre_swab_ldlm_resource_desc, lustre_swab_obdo, lustre_swab_ldlm_res_id, lustre_swab_ldlm_policy_data as static since they are used only in this particular file. Also remove the corresponding declarations from header file. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include')
-rw-r--r--drivers/staging/lustre/lustre/include/lustre/lustre_idl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
index e629ca391201..c4d6c56fc7df 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -2679,8 +2679,6 @@ struct ldlm_res_id {
#define PLDLMRES(res) (res)->lr_name.name[0], (res)->lr_name.name[1], \
(res)->lr_name.name[2], (res)->lr_name.name[3]
-void lustre_swab_ldlm_res_id(struct ldlm_res_id *id);
-
static inline int ldlm_res_eq(const struct ldlm_res_id *res0,
const struct ldlm_res_id *res1)
{
@@ -2756,8 +2754,6 @@ typedef union {
struct ldlm_inodebits l_inodebits;
} ldlm_wire_policy_data_t;
-void lustre_swab_ldlm_policy_data(ldlm_wire_policy_data_t *d);
-
union ldlm_gl_desc {
struct ldlm_gl_lquota_desc lquota_desc;
};
@@ -2776,8 +2772,6 @@ struct ldlm_resource_desc {
struct ldlm_res_id lr_name;
};
-void lustre_swab_ldlm_resource_desc(struct ldlm_resource_desc *r);
-
struct ldlm_lock_desc {
struct ldlm_resource_desc l_resource;
ldlm_mode_t l_req_mode;
@@ -3317,8 +3311,6 @@ static inline void lustre_get_wire_obdo(struct obd_connect_data *ocd,
}
}
-void lustre_swab_obdo(struct obdo *o);
-
/* request structure for OST's */
struct ost_body {
struct obdo oa;