aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index c658397c7473..3a9b88759880 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2317,6 +2317,9 @@ int close_ctree(struct btrfs_root *root)
2317 printk(KERN_ERR "btrfs: commit super ret %d\n", ret); 2317 printk(KERN_ERR "btrfs: commit super ret %d\n", ret);
2318 } 2318 }
2319 2319
2320 fs_info->closing = 2;
2321 smp_mb();
2322
2320 if (fs_info->delalloc_bytes) { 2323 if (fs_info->delalloc_bytes) {
2321 printk(KERN_INFO "btrfs: at unmount delalloc count %llu\n", 2324 printk(KERN_INFO "btrfs: at unmount delalloc count %llu\n",
2322 (unsigned long long)fs_info->delalloc_bytes); 2325 (unsigned long long)fs_info->delalloc_bytes);