summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2017-06-05 20:14:16 +0200
committerBob Peterson <rpeterso@redhat.com>2017-06-12 21:39:12 +0200
commitdf68f20f56084cffd15add2d7652bcdfb38cd875 (patch)
treeb48fc5300e68d835305636f771431bf8826a7cda /fs/gfs2
parentGFS2: Withdraw when directory entry inconsistencies are detected (diff)
downloadlinux-df68f20f56084cffd15add2d7652bcdfb38cd875.tar.xz
linux-df68f20f56084cffd15add2d7652bcdfb38cd875.zip
GFS2: Remove gl_list from glock structure
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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/incore.h1
-rw-r--r--fs/gfs2/main.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index b7cf65d13561..097adb1b3188 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 67d1fc4668f7..0a89e6f7a314 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);