summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2017-03-09 09:38:51 -0500
committerBob Peterson <rpeterso@redhat.com>2017-03-16 08:18:35 -0400
commitcc37a62785a584f4875788689f3fd1fa6e4eb291 (patch)
treedc359d870bf7a35cdc667651d1344e427c854cbe /fs/gfs2
parent0d1c7ae9d849bdd3146e322f1e46fd3300e66d5f (diff)
downloadop-kernel-dev-cc37a62785a584f4875788689f3fd1fa6e4eb291.zip
op-kernel-dev-cc37a62785a584f4875788689f3fd1fa6e4eb291.tar.gz
gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter
Function rhashtable_walk_init is deprecated. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/glock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 694167b..b2674dd 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;
}
OpenPOWER on IntegriCloud