From: Jeff Layton Date: Fri, 15 Nov 2019 14:13:59 +0000 (-0500) Subject: ceph: close holes in struct ceph_mds_session X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=93772fc564d81cf3c8172f5846c99be296eda88f;p=ceph-client.git ceph: close holes in struct ceph_mds_session Move s_ref up to plug a 4 byte hole, which plugs another. Signed-off-by: Jeff Layton Reviewed-by: "Yan, Zheng" --- diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h index c950f8f88f58..df18a29f9587 100644 --- a/fs/ceph/mds_client.h +++ b/fs/ceph/mds_client.h @@ -184,6 +184,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; @@ -198,7 +199,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 */ };