|
@@ -1930,6 +1930,9 @@ static inline bool HAS_UNMAPPED_ID(struct inode *inode)
|
|
* wb stat updates to grab mapping->tree_lock. See
|
|
* wb stat updates to grab mapping->tree_lock. See
|
|
* inode_switch_wb_work_fn() for details.
|
|
* inode_switch_wb_work_fn() for details.
|
|
*
|
|
*
|
|
|
|
+ * I_OVL_INUSE Used by overlayfs to get exclusive ownership on upper
|
|
|
|
+ * and work dirs among overlayfs mounts.
|
|
|
|
+ *
|
|
* Q: What is the difference between I_WILL_FREE and I_FREEING?
|
|
* Q: What is the difference between I_WILL_FREE and I_FREEING?
|
|
*/
|
|
*/
|
|
#define I_DIRTY_SYNC (1 << 0)
|
|
#define I_DIRTY_SYNC (1 << 0)
|
|
@@ -1950,6 +1953,7 @@ static inline bool HAS_UNMAPPED_ID(struct inode *inode)
|
|
#define __I_DIRTY_TIME_EXPIRED 12
|
|
#define __I_DIRTY_TIME_EXPIRED 12
|
|
#define I_DIRTY_TIME_EXPIRED (1 << __I_DIRTY_TIME_EXPIRED)
|
|
#define I_DIRTY_TIME_EXPIRED (1 << __I_DIRTY_TIME_EXPIRED)
|
|
#define I_WB_SWITCH (1 << 13)
|
|
#define I_WB_SWITCH (1 << 13)
|
|
|
|
+#define I_OVL_INUSE (1 << 14)
|
|
|
|
|
|
#define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES)
|
|
#define I_DIRTY (I_DIRTY_SYNC | I_DIRTY_DATASYNC | I_DIRTY_PAGES)
|
|
#define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME)
|
|
#define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME)
|