@@ -692,7 +692,7 @@ __acquires(&gl->gl_lockref.lock)
692692 int ret ;
693693
694694 if (target != LM_ST_UNLOCKED && glock_blocked_by_withdraw (gl ) &&
695- gh && !(gh -> gh_flags & LM_FLAG_NOEXP ))
695+ gh && !(gh -> gh_flags & LM_FLAG_RECOVER ))
696696 goto skip_inval ;
697697
698698 GLOCK_BUG_ON (gl , gl -> gl_state == target );
@@ -1550,7 +1550,7 @@ int gfs2_glock_nq(struct gfs2_holder *gh)
15501550 struct gfs2_glock * gl = gh -> gh_gl ;
15511551 int error ;
15521552
1553- if (glock_blocked_by_withdraw (gl ) && !(gh -> gh_flags & LM_FLAG_NOEXP ))
1553+ if (glock_blocked_by_withdraw (gl ) && !(gh -> gh_flags & LM_FLAG_RECOVER ))
15541554 return - EIO ;
15551555
15561556 if (gh -> gh_flags & GL_NOBLOCK ) {
@@ -1575,7 +1575,7 @@ int gfs2_glock_nq(struct gfs2_holder *gh)
15751575 gh -> gh_error = 0 ;
15761576 spin_lock (& gl -> gl_lockref .lock );
15771577 add_to_queue (gh );
1578- if (unlikely ((LM_FLAG_NOEXP & gh -> gh_flags ) &&
1578+ if (unlikely ((LM_FLAG_RECOVER & gh -> gh_flags ) &&
15791579 test_and_clear_bit (GLF_HAVE_FROZEN_REPLY , & gl -> gl_flags ))) {
15801580 set_bit (GLF_HAVE_REPLY , & gl -> gl_flags );
15811581 gl -> gl_lockref .count ++ ;
@@ -1880,7 +1880,7 @@ void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state)
18801880 *
18811881 * Glocks are not frozen if (a) the result of the dlm operation is
18821882 * an error, (b) the locking operation was an unlock operation or
1883- * (c) if there is a "noexp " flagged request anywhere in the queue
1883+ * (c) if there is a "recover " flagged request anywhere in the queue
18841884 *
18851885 * Returns: 1 if freezing should occur, 0 otherwise
18861886 */
@@ -1897,7 +1897,7 @@ static int gfs2_should_freeze(const struct gfs2_glock *gl)
18971897 list_for_each_entry (gh , & gl -> gl_holders , gh_list ) {
18981898 if (test_bit (HIF_HOLDER , & gh -> gh_iflags ))
18991899 continue ;
1900- if (LM_FLAG_NOEXP & gh -> gh_flags )
1900+ if (LM_FLAG_RECOVER & gh -> gh_flags )
19011901 return 0 ;
19021902 }
19031903
@@ -2246,7 +2246,7 @@ static const char *hflags2str(char *buf, u16 flags, unsigned long iflags)
22462246 * p ++ = 't' ;
22472247 if (flags & LM_FLAG_TRY_1CB )
22482248 * p ++ = 'T' ;
2249- if (flags & LM_FLAG_NOEXP )
2249+ if (flags & LM_FLAG_RECOVER )
22502250 * p ++ = 'e' ;
22512251 if (flags & LM_FLAG_ANY )
22522252 * p ++ = 'A' ;
0 commit comments