btrfs: fix fsfreeze hang caused by delayed iputs deal
[cascardo/linux.git] / fs / btrfs / ctree.h
index 09cdff0..ec4154f 100644 (file)
@@ -1080,6 +1080,8 @@ struct btrfs_fs_info {
        struct list_head pinned_chunks;
 
        int creating_free_space_tree;
+       /* Used to record internally whether fs has been frozen */
+       int fs_frozen;
 };
 
 struct btrfs_subvolume_writers {