]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
GFS2: Remove gl_list from glock structure
authorBob Peterson <rpeterso@redhat.com>
Mon, 5 Jun 2017 18:14:16 +0000 (13:14 -0500)
committerBob Peterson <rpeterso@redhat.com>
Mon, 12 Jun 2017 19:39:12 +0000 (14:39 -0500)
The gl_list is no longer used nor needed in the glock structure,
so this patch eliminates it.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/incore.h
fs/gfs2/main.c

index b7cf65d13561fedf98a72dfc66b36e70d84100cd..097adb1b31886d25afcbb44324fc11f9285038e9 100644 (file)
@@ -336,7 +336,6 @@ enum {
 };
 
 struct gfs2_glock {
-       struct hlist_bl_node gl_list;
        unsigned long gl_flags;         /* GLF_... */
        struct lm_lockname gl_name;
 
index 67d1fc4668f77730f879710ba2d393cfd579d1be..0a89e6f7a3146d4d4e999e3f4f8da19f90b1cc87 100644 (file)
@@ -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);