Commit 8b915c1e authored by Jinshan Xiong's avatar Jinshan Xiong Committed by Greg Kroah-Hartman

staging: lustre: ldlm: move LDLM_GID_ANY to lustre_dlm.h

lustre_idl.h only includes wire data; lustre_dlm.h is the
right place for LDLM_GID_ANY.
Signed-off-by: default avatarJinshan Xiong <jinshan.xiong@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6028
Reviewed-on: http://review.whamcloud.com/13074Reviewed-by: default avatarBobi Jam <bobijam@gmail.com>
Reviewed-by: default avatarJames Simmons <uja.ornl@gmail.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 26ad0dc3
...@@ -2716,8 +2716,6 @@ struct ldlm_extent { ...@@ -2716,8 +2716,6 @@ struct ldlm_extent {
__u64 gid; __u64 gid;
}; };
#define LDLM_GID_ANY ((__u64)-1)
static inline int ldlm_extent_overlap(const struct ldlm_extent *ex1, static inline int ldlm_extent_overlap(const struct ldlm_extent *ex1,
const struct ldlm_extent *ex2) const struct ldlm_extent *ex2)
{ {
......
...@@ -572,6 +572,11 @@ enum lvb_type { ...@@ -572,6 +572,11 @@ enum lvb_type {
LVB_T_LAYOUT = 3, LVB_T_LAYOUT = 3,
}; };
/**
* LDLM_GID_ANY is used to match any group id in ldlm_lock_match().
*/
#define LDLM_GID_ANY ((__u64)-1)
/** /**
* LDLM lock structure * LDLM lock structure
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment