scoutfs: remove usage of ocfs2_lock_type_string()

This only leaked into the bast function. I retained the debug print -
it'll be turned off in our build anyway, and that's what we'd
want to do upstream.

Signed-off-by: Mark Fasheh <mfasheh@versity.com>
This commit is contained in:
Mark Fasheh
2017-08-23 18:15:14 -05:00
parent 13963d22e3
commit 1831014c24

View File

@@ -1119,9 +1119,13 @@ static void ocfs2_blocking_ast(struct ocfs2_dlm_lksb *lksb, int level)
BUG_ON(level <= DLM_LOCK_NL);
#if 0
mlog(ML_BASTS, "BAST fired for lockres %s, blocking %d, level %d, "
"type %s\n", lockres->l_name, level, lockres->l_level,
ocfs2_lock_type_string(lockres->l_type));
#endif
mlog(ML_BASTS, "BAST fired for lockres %s, blocking %d, level %d\n",
lockres->l_name, level, lockres->l_level);
/*
* We can skip the bast for locks which don't enable caching -