From: Steven Whitehouse Date: Wed, 7 Jun 2017 09:35:45 +0100 Subject: [Cluster-devel] [GFS2 PATCH] GFS2: Remove gl_list from glock structure In-Reply-To: <1729562358.18721194.1496687115959.JavaMail.zimbra@redhat.com> References: <1729562358.18721194.1496687115959.JavaMail.zimbra@redhat.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Acked-by: Steven Whitehouse Steve. On 05/06/17 19:25, Bob Peterson wrote: > Hi, > > The gl_list is no longer used nor needed in the glock structure, > so this patch eliminates it. > > Signed-off-by: Bob Peterson > --- > diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h > index b7cf65d..097adb1 100644 > --- a/fs/gfs2/incore.h > +++ b/fs/gfs2/incore.h > @@ -336,7 +336,6 @@ enum { > }; > > struct gfs2_glock { > - struct hlist_bl_node gl_list; > unsigned long gl_flags; /* GLF_... */ > struct lm_lockname gl_name; > > diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c > index 67d1fc4..0a89e6f 100644 > --- a/fs/gfs2/main.c > +++ b/fs/gfs2/main.c > @@ -52,7 +52,6 @@ static void gfs2_init_glock_once(void *foo) > { > struct gfs2_glock *gl = foo; > > - INIT_HLIST_BL_NODE(&gl->gl_list); > spin_lock_init(&gl->gl_lockref.lock); > INIT_LIST_HEAD(&gl->gl_holders); > INIT_LIST_HEAD(&gl->gl_lru); >