LKM_PRMODE
case LKM_PRMODE:
if (existing == LKM_PRMODE)
case LKM_PRMODE:
if (mode != LKM_EXMODE && mode != LKM_PRMODE && mode != LKM_NLMODE) {
if (mode < LKM_PRMODE)
if (lock->ml.type != LKM_EXMODE && lock->ml.type != LKM_PRMODE)
ml->type != LKM_PRMODE);
lock->ml.type != LKM_PRMODE)
status = ocfs2_cluster_lock(osb, lockres, ex ? LKM_EXMODE : LKM_PRMODE,
ex ? LKM_EXMODE : LKM_PRMODE);
if (level == LKM_PRMODE)
#if (DLM_LOCK_PR != LKM_PRMODE)