From bd2d09ddc3050e232b07c4511cc9a20707ac3ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 15 Jun 2004 15:32:22 +0000 Subject: [PATCH] Added empty implementations of the new partition publish/unpublish calls. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7970 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/devfs.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/kernel/core/fs/devfs.c b/src/kernel/core/fs/devfs.c index 4b2bcd4bf0..765c5ed3fd 100755 --- a/src/kernel/core/fs/devfs.c +++ b/src/kernel/core/fs/devfs.c @@ -1328,6 +1328,25 @@ pnp_driver_info gDeviceForDriversModule = { // #pragma mark - +status_t +devfs_unpublish_partition(const char *path) +{ + dprintf("unpublish partition: %s\n", path); + return B_OK; +} + + +status_t +devfs_publish_partition(const char *path, const partition_info *info) +{ + if (info == NULL) + return B_BAD_VALUE; + + dprintf("publish partition: %s (device \"%s\", size %Ld)\n", path, info->device, info->size); + return B_OK; +} + + status_t devfs_publish_device(const char *path, void *ident, device_hooks *ops) {