Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2: ocfs2: Change some lock status member in ocfs2_lock_res to char.
This commit is contained in:
commit
1ca7318cac
|
@ -159,7 +159,9 @@ struct ocfs2_lock_res {
|
||||||
char l_name[OCFS2_LOCK_ID_MAX_LEN];
|
char l_name[OCFS2_LOCK_ID_MAX_LEN];
|
||||||
unsigned int l_ro_holders;
|
unsigned int l_ro_holders;
|
||||||
unsigned int l_ex_holders;
|
unsigned int l_ex_holders;
|
||||||
unsigned char l_level;
|
char l_level;
|
||||||
|
char l_requested;
|
||||||
|
char l_blocking;
|
||||||
|
|
||||||
/* Data packed - type enum ocfs2_lock_type */
|
/* Data packed - type enum ocfs2_lock_type */
|
||||||
unsigned char l_type;
|
unsigned char l_type;
|
||||||
|
@ -169,8 +171,6 @@ struct ocfs2_lock_res {
|
||||||
unsigned char l_action;
|
unsigned char l_action;
|
||||||
/* Data packed - enum type ocfs2_unlock_action */
|
/* Data packed - enum type ocfs2_unlock_action */
|
||||||
unsigned char l_unlock_action;
|
unsigned char l_unlock_action;
|
||||||
unsigned char l_requested;
|
|
||||||
unsigned char l_blocking;
|
|
||||||
unsigned int l_pending_gen;
|
unsigned int l_pending_gen;
|
||||||
|
|
||||||
spinlock_t l_lock;
|
spinlock_t l_lock;
|
||||||
|
|
Loading…
Reference in New Issue