diff options
author | Miles Bader <miles@gnu.org> | 1996-07-19 19:57:24 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-19 19:57:24 +0000 |
commit | 7de54e01d5c8d87b7a482d55b0dc2cb9c5323636 (patch) | |
tree | c82064fda8ae210a30230fbbf5df28471ec0521c | |
parent | 8be9a248d9f0b613c100abc1904bf99f0452e385 (diff) |
(trivfs_S_file_get_storage_info):
Return correct values for NUM_RUNS and NUM_OFFSETS.
-rw-r--r-- | devio/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -359,14 +359,14 @@ trivfs_S_file_get_storage_info (struct trivfs_protid *cred, (*ints)[0] = STORAGE_DEVICE; /* type */ (*ints)[1] = 0; /* flags */ (*ints)[2] = dev->dev_block_size; /* block_size */ - (*ints)[3] = 2; /* num_runs */ + (*ints)[3] = 1; /* num_runs */ (*ints)[4] = strlen (dev->name) + 1; /* name_len */ (*ints)[5] = 0; /* misc_len */ *num_ints = 6; (*offsets)[0] = 0; (*offsets)[1] = dev->size / dev->dev_block_size; - *num_offsets = 1; + *num_offsets = 2; strcpy (*data, dev->name); *data_len = strlen (dev->name) + 1; |