Loading fs/gfs2/glock.c +4 −3 Original line number Diff line number Diff line Loading @@ -540,9 +540,10 @@ __acquires(&gl->gl_lockref.lock) continue; if (!may_grant(gl, first_gh, gh)) { /* * If we get here, it means we may not grant this holder for * some reason. If this holder is the head of the list, it * means we have a blocked holder at the head, so return 1. * If we get here, it means we may not grant this * holder for some reason. If this holder is at the * head of the list, it means we have a blocked holder * at the head, so return 1. */ if (list_is_first(&gh->gh_list, &gl->gl_holders)) return 1; Loading Loading
fs/gfs2/glock.c +4 −3 Original line number Diff line number Diff line Loading @@ -540,9 +540,10 @@ __acquires(&gl->gl_lockref.lock) continue; if (!may_grant(gl, first_gh, gh)) { /* * If we get here, it means we may not grant this holder for * some reason. If this holder is the head of the list, it * means we have a blocked holder at the head, so return 1. * If we get here, it means we may not grant this * holder for some reason. If this holder is at the * head of the list, it means we have a blocked holder * at the head, so return 1. */ if (list_is_first(&gh->gh_list, &gl->gl_holders)) return 1; Loading