Commit 10457d4b authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre/include: Fix style of function declarations

This mostly fixes checkpatch complaints about
"Alignment should match open parenthesis" and
"space prohibited between function name and open parenthesis"
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e15ba45d
...@@ -427,8 +427,7 @@ static inline void lprocfs_stats_unlock(struct lprocfs_stats *stats, int opc, ...@@ -427,8 +427,7 @@ static inline void lprocfs_stats_unlock(struct lprocfs_stats *stats, int opc,
case LPROCFS_GET_SMP_ID: case LPROCFS_GET_SMP_ID:
if (stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) { if (stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) {
if (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE) { if (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE) {
spin_unlock_irqrestore(&stats->ls_lock, spin_unlock_irqrestore(&stats->ls_lock, *flags);
*flags);
} else { } else {
spin_unlock(&stats->ls_lock); spin_unlock(&stats->ls_lock);
} }
...@@ -440,8 +439,7 @@ static inline void lprocfs_stats_unlock(struct lprocfs_stats *stats, int opc, ...@@ -440,8 +439,7 @@ static inline void lprocfs_stats_unlock(struct lprocfs_stats *stats, int opc,
case LPROCFS_GET_NUM_CPU: case LPROCFS_GET_NUM_CPU:
if (stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) { if (stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) {
if (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE) { if (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE) {
spin_unlock_irqrestore(&stats->ls_lock, spin_unlock_irqrestore(&stats->ls_lock, *flags);
*flags);
} else { } else {
spin_unlock(&stats->ls_lock); spin_unlock(&stats->ls_lock);
} }
......
...@@ -638,15 +638,13 @@ static inline void ostid_set_id(struct ost_id *oi, __u64 oid) ...@@ -638,15 +638,13 @@ static inline void ostid_set_id(struct ost_id *oi, __u64 oid)
{ {
if (fid_seq_is_mdt0(ostid_seq(oi))) { if (fid_seq_is_mdt0(ostid_seq(oi))) {
if (oid >= IDIF_MAX_OID) { if (oid >= IDIF_MAX_OID) {
CERROR("Bad %llu to set "DOSTID"\n", CERROR("Bad %llu to set " DOSTID "\n", oid, POSTID(oi));
oid, POSTID(oi));
return; return;
} }
oi->oi.oi_id = oid; oi->oi.oi_id = oid;
} else { } else {
if (oid > OBIF_MAX_OID) { if (oid > OBIF_MAX_OID) {
CERROR("Bad %llu to set "DOSTID"\n", CERROR("Bad %llu to set " DOSTID "\n", oid, POSTID(oi));
oid, POSTID(oi));
return; return;
} }
oi->oi_fid.f_oid = oid; oi->oi_fid.f_oid = oid;
...@@ -716,7 +714,7 @@ static inline int ostid_to_fid(struct lu_fid *fid, struct ost_id *ostid, ...@@ -716,7 +714,7 @@ static inline int ostid_to_fid(struct lu_fid *fid, struct ost_id *ostid,
* pass the FID through, no conversion needed. * pass the FID through, no conversion needed.
*/ */
if (ostid->oi_fid.f_ver != 0) { if (ostid->oi_fid.f_ver != 0) {
CERROR("bad MDT0 id, "DOSTID" ost_idx:%u\n", CERROR("bad MDT0 id, " DOSTID " ost_idx:%u\n",
POSTID(ostid), ost_idx); POSTID(ostid), ost_idx);
return -EBADF; return -EBADF;
} }
......
...@@ -2383,13 +2383,13 @@ struct ptlrpc_request *ptlrpc_request_alloc(struct obd_import *imp, ...@@ -2383,13 +2383,13 @@ struct ptlrpc_request *ptlrpc_request_alloc(struct obd_import *imp,
const struct req_format *format); const struct req_format *format);
struct ptlrpc_request *ptlrpc_request_alloc_pool(struct obd_import *imp, struct ptlrpc_request *ptlrpc_request_alloc_pool(struct obd_import *imp,
struct ptlrpc_request_pool *, struct ptlrpc_request_pool *,
const struct req_format *format); const struct req_format *);
void ptlrpc_request_free(struct ptlrpc_request *request); void ptlrpc_request_free(struct ptlrpc_request *request);
int ptlrpc_request_pack(struct ptlrpc_request *request, int ptlrpc_request_pack(struct ptlrpc_request *request,
__u32 version, int opcode); __u32 version, int opcode);
struct ptlrpc_request *ptlrpc_request_alloc_pack(struct obd_import *imp, struct ptlrpc_request *ptlrpc_request_alloc_pack(struct obd_import *,
const struct req_format *format, const struct req_format *,
__u32 version, int opcode); __u32, int);
int ptlrpc_request_bufs_pack(struct ptlrpc_request *request, int ptlrpc_request_bufs_pack(struct ptlrpc_request *request,
__u32 version, int opcode, char **bufs, __u32 version, int opcode, char **bufs,
struct ptlrpc_cli_ctx *ctx); struct ptlrpc_cli_ctx *ctx);
...@@ -2509,8 +2509,7 @@ struct ptlrpc_service_conf { ...@@ -2509,8 +2509,7 @@ struct ptlrpc_service_conf {
*/ */
void ptlrpc_dispatch_difficult_reply(struct ptlrpc_reply_state *rs); void ptlrpc_dispatch_difficult_reply(struct ptlrpc_reply_state *rs);
void ptlrpc_schedule_difficult_reply(struct ptlrpc_reply_state *rs); void ptlrpc_schedule_difficult_reply(struct ptlrpc_reply_state *rs);
struct ptlrpc_service *ptlrpc_register_service( struct ptlrpc_service *ptlrpc_register_service(struct ptlrpc_service_conf *conf,
struct ptlrpc_service_conf *conf,
struct kset *parent, struct kset *parent,
struct dentry *debugfs_entry); struct dentry *debugfs_entry);
......
...@@ -351,26 +351,23 @@ struct ptlrpc_ctx_ops { ...@@ -351,26 +351,23 @@ struct ptlrpc_ctx_ops {
/** /**
* To determine whether it's suitable to use the \a ctx for \a vcred. * To determine whether it's suitable to use the \a ctx for \a vcred.
*/ */
int (*match) (struct ptlrpc_cli_ctx *ctx, int (*match)(struct ptlrpc_cli_ctx *ctx, struct vfs_cred *vcred);
struct vfs_cred *vcred);
/** /**
* To bring the \a ctx uptodate. * To bring the \a ctx uptodate.
*/ */
int (*refresh) (struct ptlrpc_cli_ctx *ctx); int (*refresh)(struct ptlrpc_cli_ctx *ctx);
/** /**
* Validate the \a ctx. * Validate the \a ctx.
*/ */
int (*validate) (struct ptlrpc_cli_ctx *ctx); int (*validate)(struct ptlrpc_cli_ctx *ctx);
/** /**
* Force the \a ctx to die. * Force the \a ctx to die.
*/ */
void (*force_die) (struct ptlrpc_cli_ctx *ctx, void (*force_die)(struct ptlrpc_cli_ctx *ctx, int grace);
int grace); int (*display)(struct ptlrpc_cli_ctx *ctx, char *buf, int bufsize);
int (*display) (struct ptlrpc_cli_ctx *ctx,
char *buf, int bufsize);
/** /**
* Sign the request message using \a ctx. * Sign the request message using \a ctx.
...@@ -382,8 +379,7 @@ struct ptlrpc_ctx_ops { ...@@ -382,8 +379,7 @@ struct ptlrpc_ctx_ops {
* *
* \see null_ctx_sign(), plain_ctx_sign(), gss_cli_ctx_sign(). * \see null_ctx_sign(), plain_ctx_sign(), gss_cli_ctx_sign().
*/ */
int (*sign) (struct ptlrpc_cli_ctx *ctx, int (*sign)(struct ptlrpc_cli_ctx *ctx, struct ptlrpc_request *req);
struct ptlrpc_request *req);
/** /**
* Verify the reply message using \a ctx. * Verify the reply message using \a ctx.
...@@ -395,8 +391,7 @@ struct ptlrpc_ctx_ops { ...@@ -395,8 +391,7 @@ struct ptlrpc_ctx_ops {
* *
* \see null_ctx_verify(), plain_ctx_verify(), gss_cli_ctx_verify(). * \see null_ctx_verify(), plain_ctx_verify(), gss_cli_ctx_verify().
*/ */
int (*verify) (struct ptlrpc_cli_ctx *ctx, int (*verify)(struct ptlrpc_cli_ctx *ctx, struct ptlrpc_request *req);
struct ptlrpc_request *req);
/** /**
* Encrypt the request message using \a ctx. * Encrypt the request message using \a ctx.
...@@ -408,8 +403,7 @@ struct ptlrpc_ctx_ops { ...@@ -408,8 +403,7 @@ struct ptlrpc_ctx_ops {
* *
* \see gss_cli_ctx_seal(). * \see gss_cli_ctx_seal().
*/ */
int (*seal) (struct ptlrpc_cli_ctx *ctx, int (*seal)(struct ptlrpc_cli_ctx *ctx, struct ptlrpc_request *req);
struct ptlrpc_request *req);
/** /**
* Decrypt the reply message using \a ctx. * Decrypt the reply message using \a ctx.
...@@ -421,8 +415,7 @@ struct ptlrpc_ctx_ops { ...@@ -421,8 +415,7 @@ struct ptlrpc_ctx_ops {
* *
* \see gss_cli_ctx_unseal(). * \see gss_cli_ctx_unseal().
*/ */
int (*unseal) (struct ptlrpc_cli_ctx *ctx, int (*unseal)(struct ptlrpc_cli_ctx *ctx, struct ptlrpc_request *req);
struct ptlrpc_request *req);
/** /**
* Wrap bulk request data. This is called before wrapping RPC * Wrap bulk request data. This is called before wrapping RPC
...@@ -444,7 +437,7 @@ struct ptlrpc_ctx_ops { ...@@ -444,7 +437,7 @@ struct ptlrpc_ctx_ops {
* *
* \see plain_cli_wrap_bulk(), gss_cli_ctx_wrap_bulk(). * \see plain_cli_wrap_bulk(), gss_cli_ctx_wrap_bulk().
*/ */
int (*wrap_bulk) (struct ptlrpc_cli_ctx *ctx, int (*wrap_bulk)(struct ptlrpc_cli_ctx *ctx,
struct ptlrpc_request *req, struct ptlrpc_request *req,
struct ptlrpc_bulk_desc *desc); struct ptlrpc_bulk_desc *desc);
...@@ -461,7 +454,7 @@ struct ptlrpc_ctx_ops { ...@@ -461,7 +454,7 @@ struct ptlrpc_ctx_ops {
* *
* \see plain_cli_unwrap_bulk(), gss_cli_ctx_unwrap_bulk(). * \see plain_cli_unwrap_bulk(), gss_cli_ctx_unwrap_bulk().
*/ */
int (*unwrap_bulk) (struct ptlrpc_cli_ctx *ctx, int (*unwrap_bulk)(struct ptlrpc_cli_ctx *ctx,
struct ptlrpc_request *req, struct ptlrpc_request *req,
struct ptlrpc_bulk_desc *desc); struct ptlrpc_bulk_desc *desc);
}; };
...@@ -515,7 +508,7 @@ struct ptlrpc_sec_cops { ...@@ -515,7 +508,7 @@ struct ptlrpc_sec_cops {
* *
* \see null_create_sec(), plain_create_sec(), gss_sec_create_kr(). * \see null_create_sec(), plain_create_sec(), gss_sec_create_kr().
*/ */
struct ptlrpc_sec * (*create_sec) (struct obd_import *imp, struct ptlrpc_sec *(*create_sec)(struct obd_import *imp,
struct ptlrpc_svc_ctx *ctx, struct ptlrpc_svc_ctx *ctx,
struct sptlrpc_flavor *flavor); struct sptlrpc_flavor *flavor);
...@@ -525,7 +518,7 @@ struct ptlrpc_sec_cops { ...@@ -525,7 +518,7 @@ struct ptlrpc_sec_cops {
* *
* \see null_destroy_sec(), plain_destroy_sec(), gss_sec_destroy_kr(). * \see null_destroy_sec(), plain_destroy_sec(), gss_sec_destroy_kr().
*/ */
void (*destroy_sec) (struct ptlrpc_sec *sec); void (*destroy_sec)(struct ptlrpc_sec *sec);
/** /**
* Notify that this ptlrpc_sec is going to die. Optionally, policy * Notify that this ptlrpc_sec is going to die. Optionally, policy
...@@ -534,7 +527,7 @@ struct ptlrpc_sec_cops { ...@@ -534,7 +527,7 @@ struct ptlrpc_sec_cops {
* *
* \see plain_kill_sec(), gss_sec_kill(). * \see plain_kill_sec(), gss_sec_kill().
*/ */
void (*kill_sec) (struct ptlrpc_sec *sec); void (*kill_sec)(struct ptlrpc_sec *sec);
/** /**
* Given \a vcred, lookup and/or create its context. The policy module * Given \a vcred, lookup and/or create its context. The policy module
...@@ -544,10 +537,9 @@ struct ptlrpc_sec_cops { ...@@ -544,10 +537,9 @@ struct ptlrpc_sec_cops {
* *
* \see null_lookup_ctx(), plain_lookup_ctx(), gss_sec_lookup_ctx_kr(). * \see null_lookup_ctx(), plain_lookup_ctx(), gss_sec_lookup_ctx_kr().
*/ */
struct ptlrpc_cli_ctx * (*lookup_ctx) (struct ptlrpc_sec *sec, struct ptlrpc_cli_ctx *(*lookup_ctx)(struct ptlrpc_sec *sec,
struct vfs_cred *vcred, struct vfs_cred *vcred,
int create, int create, int remove_dead);
int remove_dead);
/** /**
* Called then the reference of \a ctx dropped to 0. The policy module * Called then the reference of \a ctx dropped to 0. The policy module
...@@ -559,8 +551,7 @@ struct ptlrpc_sec_cops { ...@@ -559,8 +551,7 @@ struct ptlrpc_sec_cops {
* *
* \see plain_release_ctx(), gss_sec_release_ctx_kr(). * \see plain_release_ctx(), gss_sec_release_ctx_kr().
*/ */
void (*release_ctx) (struct ptlrpc_sec *sec, void (*release_ctx)(struct ptlrpc_sec *sec, struct ptlrpc_cli_ctx *ctx,
struct ptlrpc_cli_ctx *ctx,
int sync); int sync);
/** /**
...@@ -573,11 +564,8 @@ struct ptlrpc_sec_cops { ...@@ -573,11 +564,8 @@ struct ptlrpc_sec_cops {
* *
* \see plain_flush_ctx_cache(), gss_sec_flush_ctx_cache_kr(). * \see plain_flush_ctx_cache(), gss_sec_flush_ctx_cache_kr().
*/ */
int (*flush_ctx_cache) int (*flush_ctx_cache)(struct ptlrpc_sec *sec, uid_t uid,
(struct ptlrpc_sec *sec, int grace, int force);
uid_t uid,
int grace,
int force);
/** /**
* Called periodically by garbage collector to remove dead contexts * Called periodically by garbage collector to remove dead contexts
...@@ -585,7 +573,7 @@ struct ptlrpc_sec_cops { ...@@ -585,7 +573,7 @@ struct ptlrpc_sec_cops {
* *
* \see gss_sec_gc_ctx_kr(). * \see gss_sec_gc_ctx_kr().
*/ */
void (*gc_ctx) (struct ptlrpc_sec *sec); void (*gc_ctx)(struct ptlrpc_sec *sec);
/** /**
* Given an context \a ctx, install a corresponding reverse service * Given an context \a ctx, install a corresponding reverse service
...@@ -593,8 +581,7 @@ struct ptlrpc_sec_cops { ...@@ -593,8 +581,7 @@ struct ptlrpc_sec_cops {
* XXX currently it's only used by GSS module, maybe we should remove * XXX currently it's only used by GSS module, maybe we should remove
* this from general API. * this from general API.
*/ */
int (*install_rctx)(struct obd_import *imp, int (*install_rctx)(struct obd_import *imp, struct ptlrpc_sec *sec,
struct ptlrpc_sec *sec,
struct ptlrpc_cli_ctx *ctx); struct ptlrpc_cli_ctx *ctx);
/** /**
...@@ -608,8 +595,7 @@ struct ptlrpc_sec_cops { ...@@ -608,8 +595,7 @@ struct ptlrpc_sec_cops {
* *
* \see null_alloc_reqbuf(), plain_alloc_reqbuf(), gss_alloc_reqbuf(). * \see null_alloc_reqbuf(), plain_alloc_reqbuf(), gss_alloc_reqbuf().
*/ */
int (*alloc_reqbuf)(struct ptlrpc_sec *sec, int (*alloc_reqbuf)(struct ptlrpc_sec *sec, struct ptlrpc_request *req,
struct ptlrpc_request *req,
int lustre_msg_size); int lustre_msg_size);
/** /**
...@@ -619,8 +605,7 @@ struct ptlrpc_sec_cops { ...@@ -619,8 +605,7 @@ struct ptlrpc_sec_cops {
* *
* \see null_free_reqbuf(), plain_free_reqbuf(), gss_free_reqbuf(). * \see null_free_reqbuf(), plain_free_reqbuf(), gss_free_reqbuf().
*/ */
void (*free_reqbuf) (struct ptlrpc_sec *sec, void (*free_reqbuf)(struct ptlrpc_sec *sec, struct ptlrpc_request *req);
struct ptlrpc_request *req);
/** /**
* To allocate reply buffer for \a req. * To allocate reply buffer for \a req.
...@@ -632,8 +617,7 @@ struct ptlrpc_sec_cops { ...@@ -632,8 +617,7 @@ struct ptlrpc_sec_cops {
* *
* \see null_alloc_repbuf(), plain_alloc_repbuf(), gss_alloc_repbuf(). * \see null_alloc_repbuf(), plain_alloc_repbuf(), gss_alloc_repbuf().
*/ */
int (*alloc_repbuf)(struct ptlrpc_sec *sec, int (*alloc_repbuf)(struct ptlrpc_sec *sec, struct ptlrpc_request *req,
struct ptlrpc_request *req,
int lustre_msg_size); int lustre_msg_size);
/** /**
...@@ -645,8 +629,7 @@ struct ptlrpc_sec_cops { ...@@ -645,8 +629,7 @@ struct ptlrpc_sec_cops {
* *
* \see null_free_repbuf(), plain_free_repbuf(), gss_free_repbuf(). * \see null_free_repbuf(), plain_free_repbuf(), gss_free_repbuf().
*/ */
void (*free_repbuf) (struct ptlrpc_sec *sec, void (*free_repbuf)(struct ptlrpc_sec *sec, struct ptlrpc_request *req);
struct ptlrpc_request *req);
/** /**
* To expand the request buffer of \a req, thus the \a segment in * To expand the request buffer of \a req, thus the \a segment in
...@@ -658,15 +641,13 @@ struct ptlrpc_sec_cops { ...@@ -658,15 +641,13 @@ struct ptlrpc_sec_cops {
* \see null_enlarge_reqbuf(), plain_enlarge_reqbuf(), * \see null_enlarge_reqbuf(), plain_enlarge_reqbuf(),
* gss_enlarge_reqbuf(). * gss_enlarge_reqbuf().
*/ */
int (*enlarge_reqbuf) int (*enlarge_reqbuf)(struct ptlrpc_sec *sec,
(struct ptlrpc_sec *sec,
struct ptlrpc_request *req, struct ptlrpc_request *req,
int segment, int newsize); int segment, int newsize);
/* /*
* misc * misc
*/ */
int (*display) (struct ptlrpc_sec *sec, int (*display)(struct ptlrpc_sec *sec, struct seq_file *seq);
struct seq_file *seq);
}; };
/** /**
...@@ -690,7 +671,7 @@ struct ptlrpc_sec_sops { ...@@ -690,7 +671,7 @@ struct ptlrpc_sec_sops {
* *
* \see null_accept(), plain_accept(), gss_svc_accept_kr(). * \see null_accept(), plain_accept(), gss_svc_accept_kr().
*/ */
int (*accept) (struct ptlrpc_request *req); int (*accept)(struct ptlrpc_request *req);
/** /**
* Perform security transformation upon reply message. * Perform security transformation upon reply message.
...@@ -702,15 +683,14 @@ struct ptlrpc_sec_sops { ...@@ -702,15 +683,14 @@ struct ptlrpc_sec_sops {
* *
* \see null_authorize(), plain_authorize(), gss_svc_authorize(). * \see null_authorize(), plain_authorize(), gss_svc_authorize().
*/ */
int (*authorize) (struct ptlrpc_request *req); int (*authorize)(struct ptlrpc_request *req);
/** /**
* Invalidate server context \a ctx. * Invalidate server context \a ctx.
* *
* \see gss_svc_invalidate_ctx(). * \see gss_svc_invalidate_ctx().
*/ */
void (*invalidate_ctx) void (*invalidate_ctx)(struct ptlrpc_svc_ctx *ctx);
(struct ptlrpc_svc_ctx *ctx);
/** /**
* Allocate a ptlrpc_reply_state. * Allocate a ptlrpc_reply_state.
...@@ -724,28 +704,26 @@ struct ptlrpc_sec_sops { ...@@ -724,28 +704,26 @@ struct ptlrpc_sec_sops {
* *
* \see null_alloc_rs(), plain_alloc_rs(), gss_svc_alloc_rs(). * \see null_alloc_rs(), plain_alloc_rs(), gss_svc_alloc_rs().
*/ */
int (*alloc_rs) (struct ptlrpc_request *req, int (*alloc_rs)(struct ptlrpc_request *req, int msgsize);
int msgsize);
/** /**
* Free a ptlrpc_reply_state. * Free a ptlrpc_reply_state.
*/ */
void (*free_rs) (struct ptlrpc_reply_state *rs); void (*free_rs)(struct ptlrpc_reply_state *rs);
/** /**
* Release the server context \a ctx. * Release the server context \a ctx.
* *
* \see gss_svc_free_ctx(). * \see gss_svc_free_ctx().
*/ */
void (*free_ctx) (struct ptlrpc_svc_ctx *ctx); void (*free_ctx)(struct ptlrpc_svc_ctx *ctx);
/** /**
* Install a reverse context based on the server context \a ctx. * Install a reverse context based on the server context \a ctx.
* *
* \see gss_svc_install_rctx_kr(). * \see gss_svc_install_rctx_kr().
*/ */
int (*install_rctx)(struct obd_import *imp, int (*install_rctx)(struct obd_import *imp, struct ptlrpc_svc_ctx *ctx);
struct ptlrpc_svc_ctx *ctx);
/** /**
* Prepare buffer for incoming bulk write. * Prepare buffer for incoming bulk write.
...@@ -755,7 +733,7 @@ struct ptlrpc_sec_sops { ...@@ -755,7 +733,7 @@ struct ptlrpc_sec_sops {
* *
* \see gss_svc_prep_bulk(). * \see gss_svc_prep_bulk().
*/ */
int (*prep_bulk) (struct ptlrpc_request *req, int (*prep_bulk)(struct ptlrpc_request *req,
struct ptlrpc_bulk_desc *desc); struct ptlrpc_bulk_desc *desc);
/** /**
...@@ -763,7 +741,7 @@ struct ptlrpc_sec_sops { ...@@ -763,7 +741,7 @@ struct ptlrpc_sec_sops {
* *
* \see plain_svc_unwrap_bulk(), gss_svc_unwrap_bulk(). * \see plain_svc_unwrap_bulk(), gss_svc_unwrap_bulk().
*/ */
int (*unwrap_bulk) (struct ptlrpc_request *req, int (*unwrap_bulk)(struct ptlrpc_request *req,
struct ptlrpc_bulk_desc *desc); struct ptlrpc_bulk_desc *desc);
/** /**
...@@ -771,7 +749,7 @@ struct ptlrpc_sec_sops { ...@@ -771,7 +749,7 @@ struct ptlrpc_sec_sops {
* *
* \see plain_svc_wrap_bulk(), gss_svc_wrap_bulk(). * \see plain_svc_wrap_bulk(), gss_svc_wrap_bulk().
*/ */
int (*wrap_bulk) (struct ptlrpc_request *req, int (*wrap_bulk)(struct ptlrpc_request *req,
struct ptlrpc_bulk_desc *desc); struct ptlrpc_bulk_desc *desc);
}; };
......
...@@ -1734,7 +1734,7 @@ void class_uuid_unparse(class_uuid_t in, struct obd_uuid *out); ...@@ -1734,7 +1734,7 @@ void class_uuid_unparse(class_uuid_t in, struct obd_uuid *out);
/* lustre_peer.c */ /* lustre_peer.c */
int lustre_uuid_to_peer(const char *uuid, lnet_nid_t *peer_nid, int index); int lustre_uuid_to_peer(const char *uuid, lnet_nid_t *peer_nid, int index);
int class_add_uuid(const char *uuid, __u64 nid); int class_add_uuid(const char *uuid, __u64 nid);
int class_del_uuid (const char *uuid); int class_del_uuid(const char *uuid);
int class_check_uuid(struct obd_uuid *uuid, __u64 nid); int class_check_uuid(struct obd_uuid *uuid, __u64 nid);
void class_init_uuidlist(void); void class_init_uuidlist(void);
void class_exit_uuidlist(void); void class_exit_uuidlist(void);
......
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