mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
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:
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user