diff mbox series

[1/6] ceph: close holes in struct ceph_mds_session

Message ID 20200106153520.307523-2-jlayton@kernel.org (mailing list archive)
State New, archived
Headers show
Series ceph: asynchronous unlink support | expand

Commit Message

Jeffrey Layton Jan. 6, 2020, 3:35 p.m. UTC
Move s_ref up to plug a 4 byte hole, which plugs another.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/ceph/mds_client.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index c021df5f50ce..8f2d3d68073e 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -175,6 +175,7 @@  struct ceph_mds_session {
 
 	/* protected by s_cap_lock */
 	spinlock_t        s_cap_lock;
+	refcount_t        s_ref;
 	struct list_head  s_caps;     /* all caps issued by this session */
 	struct ceph_cap  *s_cap_iterator;
 	int               s_nr_caps;
@@ -189,7 +190,6 @@  struct ceph_mds_session {
 	unsigned long     s_renew_requested; /* last time we sent a renew req */
 	u64               s_renew_seq;
 
-	refcount_t        s_ref;
 	struct list_head  s_waiting;  /* waiting requests */
 	struct list_head  s_unsafe;   /* unsafe requests */
 };