gfs2: Clean up waiting on glocks
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 4 Aug 2017 12:40:45 +0000 (07:40 -0500)
committerBob Peterson <rpeterso@redhat.com>
Thu, 10 Aug 2017 15:51:02 +0000 (10:51 -0500)
commita91323e255fa8bc84b0acf63376b395c534a38fa
treef193b2fd5dbe00591267426cf09021bb599d35d1
parent6a1c8f6dcf815d96197a2723781cf700925d17ed
gfs2: Clean up waiting on glocks

The prepare_to_wait_on_glock and finish_wait_on_glock functions introduced in
commit 56a365be "gfs2: gfs2_glock_get: Wait on freeing glocks" are
better removed, resulting in cleaner code.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/glock.c