summaryrefslogtreecommitdiff
path: root/ufs/inode.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-07 00:26:55 +0000
committerMiles Bader <miles@gnu.org>1995-10-07 00:26:55 +0000
commit3f0f59294d186bacd41056b48ce843056bcb5316 (patch)
tree713461da87302973ece76f6cf81b2a07898963dc /ufs/inode.c
parentd9b8f15366f3b97743dc51e85d9c22c6874ad2aa (diff)
(diskfs_S_file_get_storage_info):
Change type of ADDRESSES to off_t **, and add the BLOCK_SIZE parameter.
Diffstat (limited to 'ufs/inode.c')
-rw-r--r--ufs/inode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index 2c1c7278..db1ef96d 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -594,8 +594,9 @@ diskfs_shutdown_soft_ports ()
error_t
diskfs_S_file_get_storage_info (struct protid *cred,
int *class,
- int **addresses,
+ off_t **addresses,
u_int *naddresses,
+ size_t *block_size,
char *storage_name,
mach_port_t *storage_port,
mach_msg_type_name_t *storage_port_type,
@@ -677,7 +678,8 @@ diskfs_S_file_get_storage_info (struct protid *cred,
diskfs_end_catch_exception ();
*class = STORAGE_DEVICE;
-
+ *block_size = DEV_BSIZE;
+
strcpy (storage_name, ufs_device_name);
if (diskfs_isuid (0, cred))