All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH 1/2] gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter
@ 2017-03-06 14:37 Andreas Gruenbacher
  2017-03-06 14:37 ` [Cluster-devel] [PATCH 2/2] gfs2: Deduplicate gfs2_{glocks, glstats}_open Andreas Gruenbacher
  2017-03-09 15:06 ` [Cluster-devel] [PATCH 1/2] gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter Bob Peterson
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Gruenbacher @ 2017-03-06 14:37 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Function rhashtable_walk_init is deprecated.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
---
 fs/gfs2/glock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index ec0848f..339deb4 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1932,7 +1932,7 @@ static int gfs2_glocks_open(struct inode *inode, struct file *file)
 		if (seq->buf)
 			seq->size = GFS2_SEQ_GOODSIZE;
 		gi->gl = NULL;
-		ret = rhashtable_walk_init(&gl_hash_table, &gi->hti, GFP_KERNEL);
+		rhashtable_walk_enter(&gl_hash_table, &gi->hti);
 	}
 	return ret;
 }
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-09 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-06 14:37 [Cluster-devel] [PATCH 1/2] gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter Andreas Gruenbacher
2017-03-06 14:37 ` [Cluster-devel] [PATCH 2/2] gfs2: Deduplicate gfs2_{glocks, glstats}_open Andreas Gruenbacher
2017-03-09 15:07   ` Bob Peterson
2017-03-09 15:06 ` [Cluster-devel] [PATCH 1/2] gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter Bob Peterson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.