mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:50:59 +07:00
ocfs2: Use BH_JBDPrivateStart instead of BH_Unshadow
This is safer. We no longer have to worry about tracking changes to jbd_state_bits. Signed-off-by: Mark Fasheh <mfasheh@suse.com>
This commit is contained in:
parent
e97fcd95a4
commit
b86c86fa1f
@ -42,11 +42,10 @@
|
||||
/*
|
||||
* Bits on bh->b_state used by ocfs2.
|
||||
*
|
||||
* These MUST be after the JBD2 bits. Currently BH_Unshadow is the last
|
||||
* JBD2 bit.
|
||||
* These MUST be after the JBD2 bits. Hence, we use BH_JBDPrivateStart.
|
||||
*/
|
||||
enum ocfs2_state_bits {
|
||||
BH_NeedsValidate = BH_Unshadow + 1,
|
||||
BH_NeedsValidate = BH_JBDPrivateStart,
|
||||
};
|
||||
|
||||
/* Expand the magic b_state functions */
|
||||
|
Loading…
Reference in New Issue
Block a user