scoutfs: pull in OCFS2_LOCK_ID_MAX_LEN

We need this for the lockres name. It also turns out to be the only
thing we need from fs/ocfs2/ocfs2_lockid.h.

Signed-off-by: Mark Fasheh <mfasheh@versity.com>
This commit is contained in:
Mark Fasheh
2017-08-23 18:12:54 -05:00
parent 9bfb9c059d
commit 13963d22e3
+3
View File
@@ -27,6 +27,9 @@
#ifndef DLMGLUE_H
#define DLMGLUE_H
/* Max length of lockid name */
#define OCFS2_LOCK_ID_MAX_LEN 32
enum ocfs2_ast_action {
OCFS2_AST_INVALID = 0,
OCFS2_AST_ATTACH,