|
@@ -2317,6 +2317,9 @@ int close_ctree(struct btrfs_root *root)
|
|
printk(KERN_ERR "btrfs: commit super ret %d\n", ret);
|
|
printk(KERN_ERR "btrfs: commit super ret %d\n", ret);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ fs_info->closing = 2;
|
|
|
|
+ smp_mb();
|
|
|
|
+
|
|
if (fs_info->delalloc_bytes) {
|
|
if (fs_info->delalloc_bytes) {
|
|
printk(KERN_INFO "btrfs: at unmount delalloc count %llu\n",
|
|
printk(KERN_INFO "btrfs: at unmount delalloc count %llu\n",
|
|
(unsigned long long)fs_info->delalloc_bytes);
|
|
(unsigned long long)fs_info->delalloc_bytes);
|