Displaying 1 result from an estimated 1 matches for "258316a".
Did you mean:
253162
2013 Mar 09
4
[PATCH] use rcu_barrier() to wait for bdev puts at unmount
...device is truly free once
unmount completes.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
p.s. I debated putting it into close_ctree(); I don''t know if there'' anything
else to wait for. Thoughts?
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 5cbb7f4..258316a 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -680,6 +680,7 @@ int btrfs_close_devices(struct btrfs_fs_devices *fs_devices)
__btrfs_close_devices(fs_devices);
free_fs_devices(fs_devices);
}
+ rcu_barrier();
return ret;
}
--
To unsubscribe from this list: send the line &q...