diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-03-01 16:04:59 -0800 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 18:12:05 -0700 |
commit | 7e3bd65ebfd5d6cd76b8b979920c632d6e6b4b2a (patch) | |
tree | eb43094639021ef9c2d587b6e386be2aa9643dbe /net/rds/rds.h | |
parent | 940786eb0a0faf3f30898a1cc7c1540d54c1aff6 (diff) | |
download | op-kernel-dev-7e3bd65ebfd5d6cd76b8b979920c632d6e6b4b2a.zip op-kernel-dev-7e3bd65ebfd5d6cd76b8b979920c632d6e6b4b2a.tar.gz |
RDS: Move some variables around for consistency
Also, add a comment.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index 13ed30ac..46d190d 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h @@ -301,7 +301,13 @@ struct rds_message { */ spinlock_t m_rs_lock; struct rds_sock *m_rs; + + /* cookie to send to remote, in rds header */ rds_rdma_cookie_t m_rdma_cookie; + + unsigned int m_used_sgs; + unsigned int m_total_sgs; + struct { struct rm_atomic_op { int op_type; @@ -343,8 +349,6 @@ struct rds_message { struct scatterlist *op_sg; } data; }; - unsigned int m_used_sgs; - unsigned int m_total_sgs; }; /* |