Fix a comment above uma_zsecond_create(), describing its arguments.
It doesn't take 'align' and 'flags' but 'master' instead, which is a reference to the Master Zone, containing the backing Keg. Pointed out by: Tim Robbins (tjr)
This commit is contained in:
parent
76a17fc316
commit
2ad1fea4f3
@ -185,9 +185,9 @@ uma_zone_t uma_zcreate(char *name, size_t size, uma_ctor ctor, uma_dtor dtor,
|
||||
* zinit/zfini (unset by default for master zone) with
|
||||
* uma_zone_set_zinit/zfini() (note subtle 'z' prefix).
|
||||
*
|
||||
* align A bitmask that corisponds to the requested alignment
|
||||
* eg 4 would be 0x3
|
||||
* flags A set of parameters that control the behavior of the zone
|
||||
* master A reference to this zone's Master Zone (Primary Zone),
|
||||
* which contains the backing Keg for the Secondary Zone
|
||||
* being added.
|
||||
*
|
||||
* Returns:
|
||||
* A pointer to a structure which is intended to be opaque to users of
|
||||
|
Loading…
Reference in New Issue
Block a user