RDS: Move some variables around for consistency
Also, add a comment.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
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 @@
*/
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 scatterlist *op_sg;
} data;
};
- unsigned int m_used_sgs;
- unsigned int m_total_sgs;
};
/*