diff options
| author | oster <oster@NetBSD.org> | 2004-03-03 01:02:44 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2004-03-03 01:02:44 +0000 |
| commit | dc851b8e239ff2548ade97d23d23548170ad9339 (patch) | |
| tree | 332d9f484121a88f2fff34eba478883751784a40 /sys/dev/raidframe | |
| parent | edf3711f4e3798ed53347d977616b0189607cbd9 (diff) | |
Improve comments on rf_LookupRUStatus(). No functional changes.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_psstatus.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_psstatus.c b/sys/dev/raidframe/rf_psstatus.c index 29b4dd0e94e..4aace4c1717 100644 --- a/sys/dev/raidframe/rf_psstatus.c +++ b/sys/dev/raidframe/rf_psstatus.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_psstatus.c,v 1.22 2004/03/03 00:45:20 oster Exp $ */ +/* $NetBSD: rf_psstatus.c,v 1.23 2004/03/03 01:02:44 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -37,7 +37,7 @@ *****************************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.22 2004/03/03 00:45:20 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.23 2004/03/03 01:02:44 oster Exp $"); #include <dev/raidframe/raidframevar.h> @@ -136,13 +136,14 @@ rf_FreeParityStripeStatusTable(RF_Raid_t *raidPtr, /* looks up the status structure for a parity stripe. - * if the create_flag is on, creates and returns the status structure it it doesn't exist + * if the create_flag is on, uses (and returns) newpssPtr if + * a parity status structure doesn't exist * otherwise returns NULL if the status structure does not exist * * ASSUMES THE PSS DESCRIPTOR IS LOCKED UPON ENTRY * - * flags - whether or not to create it if it doesn't exist and what flags - * to set it to initially + * flags - whether or not to use newpssPtr if the needed PSS + * doesn't exist and what flags to set it to initially */ RF_ReconParityStripeStatus_t * rf_LookupRUStatus(RF_Raid_t *raidPtr, RF_PSStatusHeader_t *pssTable, |
