final Map<String, FSInfo> oldFilesystems = getFilesystemsMap();
mFileSystemsWriteLock.lock();
try {
treeMenuController.removeChildren(fileSystemsNode);
for (final String fs : fileSystems) {
final FSInfo fsi;
if (oldFilesystems.containsKey(fs)) {
fsi = oldFilesystems.get(fs);
} else {
fsi = fsInfoProvider.get();
fsi.init(fs, thisClass);
}
treeMenuController.addChild(fileSystemsNode, treeMenuController.createMenuItem(fsi));
}
treeMenuController.reloadNode(fileSystemsNode, false);
} finally {