diff options
author | Miles Bader <miles@gnu.org> | 1995-10-07 00:26:55 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-07 00:26:55 +0000 |
commit | c913ad9cb6f66af56e88c1395e08d4674fc32def (patch) | |
tree | b7ee4de9733165fb11d9a4d2ae30014de9b5201a /ufs/inode.c | |
parent | 3a0bea8c30c4e701fcc70286a4493e0bbe4d8406 (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.c | 6 |
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)) |