aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2017-02-21 23:19:10 +0100
committerBob Peterson <rpeterso@redhat.com>2017-04-03 09:14:41 -0400
commit0a52aba7c2168636fc71635cf3ccb92a79a96c38 (patch)
treea6d611d27d4c2a91e894165e71f31488e442ccd8 /fs/gfs2/inode.c
parentMerge commit 'f9fe1c1' into for-next (diff)
downloadlinux-dev-0a52aba7c2168636fc71635cf3ccb92a79a96c38.tar.xz
linux-dev-0a52aba7c2168636fc71635cf3ccb92a79a96c38.zip
gfs2: Switch to rhashtable_lookup_get_insert_fast
Switch from rhashtable_lookup_insert_fast + rhashtable_lookup_fast to rhashtable_lookup_get_insert_fast, which is cleaner and avoids an extra rhashtable lookup. At the same time, turn the retry loop in gfs2_glock_get into an infinite loop. The lookup or insert will eventually succeed, usually very fast, but there is no reason to give up trying at a fixed number of iterations. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions