btrfs: fix leak of fs devices after removing btrfs module
[sfrench/cifs-2.6.git] / fs / btrfs / super.c
index 93f52ee85f6fe9735f379ff9fae3169eba042eb6..d5de18d6517e730066cc2eda0696534a20658920 100644 (file)
@@ -2514,6 +2514,7 @@ static __always_inline void btrfs_exit_btrfs_fs(void)
 static void __exit exit_btrfs_fs(void)
 {
        btrfs_exit_btrfs_fs();
+       btrfs_cleanup_fs_uuids();
 }
 
 static int __init init_btrfs_fs(void)