From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 2/8] GFS2: Remove gl_list from glock structure
Date: Mon, 3 Jul 2017 12:19:23 -0500 [thread overview]
Message-ID: <20170703171929.7866-3-rpeterso@redhat.com> (raw)
In-Reply-To: <20170703171929.7866-1-rpeterso@redhat.com>
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 | 1 -
fs/gfs2/main.c | 1 -
2 files changed, 2 deletions(-)
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);
--
2.9.4
next prev parent reply other threads:[~2017-07-03 17:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 17:19 [Cluster-devel] [PATCH 0/8] GFS2: Pre-pull patch posting (merge window) Bob Peterson
2017-07-03 17:19 ` [Cluster-devel] [PATCH 1/8] GFS2: Withdraw when directory entry inconsistencies are detected Bob Peterson
2017-07-03 17:19 ` Bob Peterson [this message]
2017-07-03 17:19 ` [Cluster-devel] [PATCH 3/8] GFS2: Eliminate vestigial sd_log_flush_wrapped Bob Peterson
2017-07-03 17:19 ` [Cluster-devel] [PATCH 4/8] gfs2: Get rid of flush_delayed_work in gfs2_evict_inode Bob Peterson
2017-07-03 17:19 ` [Cluster-devel] [PATCH 5/8] gfs2: Protect gl->gl_object by spin lock Bob Peterson
2017-07-03 17:19 ` [Cluster-devel] [PATCH 6/8] gfs2: Clean up glock work enqueuing Bob Peterson
2017-07-03 17:19 ` [Cluster-devel] [PATCH 7/8] gfs2: gfs2_create_inode: Keep glock across iput Bob Peterson
2017-07-03 17:19 ` [Cluster-devel] [PATCH 8/8] GFS2: constify attribute_group structures Bob Peterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170703171929.7866-3-rpeterso@redhat.com \
--to=rpeterso@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).