Commit 498374f7 authored by Hugues Morisset's avatar Hugues Morisset Committed by Greg Kroah-Hartman

staging: lustre: fix coding style on long lines

Signed-off-by: default avatarHugues Morisset <morisset.hugues@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 18751668
...@@ -679,7 +679,7 @@ struct obd_trans_info { ...@@ -679,7 +679,7 @@ struct obd_trans_info {
unsigned long oti_sync_write:1; unsigned long oti_sync_write:1;
/* initial thread handling transaction */ /* initial thread handling transaction */
struct ptlrpc_thread * oti_thread; struct ptlrpc_thread *oti_thread;
__u32 oti_conn_cnt; __u32 oti_conn_cnt;
/** VBR: versions */ /** VBR: versions */
__u64 oti_pre_version; __u64 oti_pre_version;
...@@ -704,6 +704,7 @@ static inline void oti_init(struct obd_trans_info *oti, ...@@ -704,6 +704,7 @@ static inline void oti_init(struct obd_trans_info *oti,
if (req->rq_reqmsg != NULL && if (req->rq_reqmsg != NULL &&
lustre_msg_get_flags(req->rq_reqmsg) & MSG_REPLAY) { lustre_msg_get_flags(req->rq_reqmsg) & MSG_REPLAY) {
__u64 *pre_version = lustre_msg_get_versions(req->rq_reqmsg); __u64 *pre_version = lustre_msg_get_versions(req->rq_reqmsg);
oti->oti_pre_version = pre_version ? pre_version[0] : 0; oti->oti_pre_version = pre_version ? pre_version[0] : 0;
oti->oti_transno = lustre_msg_get_transno(req->rq_reqmsg); oti->oti_transno = lustre_msg_get_transno(req->rq_reqmsg);
} }
...@@ -1405,6 +1406,7 @@ static inline struct lustre_capa *oinfo_capa(struct obd_info *oinfo) ...@@ -1405,6 +1406,7 @@ static inline struct lustre_capa *oinfo_capa(struct obd_info *oinfo)
static inline struct md_open_data *obd_mod_alloc(void) static inline struct md_open_data *obd_mod_alloc(void)
{ {
struct md_open_data *mod; struct md_open_data *mod;
OBD_ALLOC_PTR(mod); OBD_ALLOC_PTR(mod);
if (mod == NULL) if (mod == NULL)
return NULL; return NULL;
......
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