From 9cd06f3a38de6a18dd672849a5894d768357e165 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 22 Jul 2003 00:14:01 +0000 Subject: [PATCH] The content_type field in partition_data is now set by the system (to the disk system's pretty name). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4047 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/disk_scanner/fs/bfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/disk_scanner/fs/bfs.c b/src/add-ons/kernel/disk_scanner/fs/bfs.c index 571932784f..798882498b 100644 --- a/src/add-ons/kernel/disk_scanner/fs/bfs.c +++ b/src/add-ons/kernel/disk_scanner/fs/bfs.c @@ -398,11 +398,11 @@ bfs_scan_partition(int fd, partition_data *partition, void *cookie) partition->flags |= B_PARTITION_FILE_SYSTEM; partition->block_size = superBlock->block_size; partition->content_name = strdup(superBlock->name); - partition->content_type = strdup(kPartitionTypeBFS); + // (content_type is set by the system) // (no content_parameters, content_cookie ?) // free the super block free(superBlock); - if (!partition->content_name || !partition->content_type) + if (!partition->content_name) return B_NO_MEMORY; return B_OK; }