From cc37a62785a584f4875788689f3fd1fa6e4eb291 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Thu, 9 Mar 2017 09:38:51 -0500 Subject: [PATCH] gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter Function rhashtable_walk_init is deprecated. Signed-off-by: Andreas Gruenbacher Signed-off-by: Bob Peterson --- 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 694167b4e512..b2674dd4ce7c 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -1934,7 +1934,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; }