]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/gfs2/incore.h
gfs2: fix race between gfs2_freeze_func and unmount
[linux.git] / fs / gfs2 / incore.h
index 6a94b094a90432b385c5c0cbd8eda1819fc1332d..b1575506859318e49c6dfa102b6e736725108f73 100644 (file)
@@ -621,6 +621,7 @@ enum {
        SDF_SKIP_DLM_UNLOCK     = 8,
        SDF_FORCE_AIL_FLUSH     = 9,
        SDF_AIL1_IO_ERROR       = 10,
+       SDF_FS_FROZEN           = 11,
 };
 
 enum gfs2_freeze_state {
@@ -809,8 +810,8 @@ struct gfs2_sbd {
        atomic_t sd_log_pinned;
        unsigned int sd_log_num_revoke;
 
-       struct list_head sd_log_le_revoke;
-       struct list_head sd_log_le_ordered;
+       struct list_head sd_log_revokes;
+       struct list_head sd_log_ordered;
        spinlock_t sd_ordered_lock;
 
        atomic_t sd_log_thresh1;