From cc4acfe8bf9838773321e369b4c995ea5a655032 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 13 Oct 1995 23:17:16 +0000 Subject: (diskfs_S_file_get_storage_info): Use DISKFS_DEVICE instead of UFS_DEVICE, and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME. --- ufs/inode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ufs/inode.c') diff --git a/ufs/inode.c b/ufs/inode.c index db1ef96d..b15c9848 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -680,10 +680,11 @@ diskfs_S_file_get_storage_info (struct protid *cred, *class = STORAGE_DEVICE; *block_size = DEV_BSIZE; - strcpy (storage_name, ufs_device_name); + if (diskfs_device_name) + strcpy (storage_name, diskfs_device_name); if (diskfs_isuid (0, cred)) - *storage_port = ufs_device; + *storage_port = diskfs_device; else *storage_port = MACH_PORT_NULL; *storage_port_type = MACH_MSG_TYPE_COPY_SEND; -- cgit v1.2.3