From 13963d22e3eaa94563fc5c1cc8bd465d03a97870 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Wed, 23 Aug 2017 18:12:54 -0500 Subject: [PATCH] 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 --- kmod/src/dlmglue.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kmod/src/dlmglue.h b/kmod/src/dlmglue.h index 241e4f33..c2efef8a 100644 --- a/kmod/src/dlmglue.h +++ b/kmod/src/dlmglue.h @@ -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,