mount_server: restore automount notification.

Fix #14149.
This commit is contained in:
Jérôme Duval 2018-06-04 22:55:02 +02:00
parent 8088f452ff
commit 0d1e94a465
2 changed files with 3 additions and 2 deletions

View File

@ -185,8 +185,7 @@ MountVisitor::Visit(BPartition* partition, int32 level)
if (!fInitialRescan) {
// Ask the user about mount flags if this is not the
// initial scan.
// TODO!
//if (!_SuggestMountFlags(partition, &mountFlags))
if (!AutoMounter::_SuggestMountFlags(partition, &mountFlags))
return false;
} else {
BString mountFlagsKey(path.Path());

View File

@ -61,6 +61,8 @@ private:
static bool _SuggestMountFlags(const BPartition* partition,
uint32* _flags);
friend class MountVisitor;
private:
mount_mode fNormalMode;
mount_mode fRemovableMode;