mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 19:25:46 +07:00
staging: lustre: Fixed the parenthesis
The parentehsis are fixed in the macro for the ldlm lock to set and clear the flags. Signed-off-by: Shalin Mehta <shalinmehta85@gmail.com> Acked-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ae0246da16
commit
0a37f7a6a2
@ -365,10 +365,10 @@
|
|||||||
#define LDLM_TEST_FLAG(_l, _b) (((_l)->l_flags & (_b)) != 0)
|
#define LDLM_TEST_FLAG(_l, _b) (((_l)->l_flags & (_b)) != 0)
|
||||||
|
|
||||||
/** set a ldlm_lock flag bit */
|
/** set a ldlm_lock flag bit */
|
||||||
#define LDLM_SET_FLAG(_l, _b) (((_l)->l_flags |= (_b))
|
#define LDLM_SET_FLAG(_l, _b) ((_l)->l_flags |= (_b))
|
||||||
|
|
||||||
/** clear a ldlm_lock flag bit */
|
/** clear a ldlm_lock flag bit */
|
||||||
#define LDLM_CLEAR_FLAG(_l, _b) (((_l)->l_flags &= ~(_b))
|
#define LDLM_CLEAR_FLAG(_l, _b) ((_l)->l_flags &= ~(_b))
|
||||||
|
|
||||||
/** Mask of flags inherited from parent lock when doing intents. */
|
/** Mask of flags inherited from parent lock when doing intents. */
|
||||||
#define LDLM_INHERIT_FLAGS LDLM_FL_INHERIT_MASK
|
#define LDLM_INHERIT_FLAGS LDLM_FL_INHERIT_MASK
|
||||||
|
Loading…
Reference in New Issue
Block a user