projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1c7ae
)
gfs2: Replace rhashtable_walk_init with rhashtable_walk_enter
author
Andreas Gruenbacher
<agruenba@redhat.com>
Thu, 9 Mar 2017 14:38:51 +0000
(09:38 -0500)
committer
Bob Peterson
<rpeterso@redhat.com>
Thu, 16 Mar 2017 12:18:35 +0000
(08:18 -0400)
Function rhashtable_walk_init is deprecated.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/glock.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/glock.c
b/fs/gfs2/glock.c
index
694167b
..
b2674dd
100644
(file)
--- 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;
- r
et = rhashtable_walk_init(&gl_hash_table, &gi->hti, GFP_KERNEL
);
+ r
hashtable_walk_enter(&gl_hash_table, &gi->hti
);
}
return ret;
}