fat: Do not prevent multiple simultaneous mounts.
This was preventing open() from getting the volume icon
once a FAT volume was mounted. This is now handled in the VFS.
Fixes #19303.
Change-Id: I5837bcdd4496b5eda13610e9ded661f1529364ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10023
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Diff
src/add-ons/kernel/file_systems/fat/kernel_interface.cpp | 9 ---------
1 file changed, 9 deletions(-)
@@ -3322,15 +3322,6 @@
RETURN_ERROR(B_FROM_POSIX_ERROR(errno));
}
#ifndef FS_SHELL
status_t status = _kern_lock_node(device->si_fd);
if (status != B_OK) {
close(device->si_fd);
RETURN_ERROR(status);
}
#endif
deviceDeleter.Detach();
geomDeleter.Detach();