OpenSolaris

Printable Version Enter a New Search
Bug ID 6577336
Synopsis 6572465 didn't update comments for zpool_stage_history()
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Eric Kustarz
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_71
Fixed In snv_71
Release Fixed solaris_nevada(snv_71) , solaris_10u6(s10u6_01) (Bug ID:2156412)
Related Bugs 6572465
Submit Date 5-July-2007
Last Update Date 29-April-2008
Description
[ahl 7.4.2007]

/*
 * Log command history.
 *
 * 'pool' is B_TRUE if we are logging a command for 'zpool'; B_FALSE
 * otherwise ('zfs').  'pool_create' is B_TRUE if we are logging the creation
 * of the pool; B_FALSE otherwise.  'path' is the pathname containing the
 * poolname.  'argc' and 'argv' are used to construct the command string.
 */
void
zpool_stage_history(libzfs_handle_t *hdl, int argc, char **argv,
    boolean_t zfs_cmd, boolean_t pool_create)
{

'path'? Looking at the old version sheds some light:

void
zpool_log_history(libzfs_handle_t *hdl, int argc, char **argv, const char *path,
        boolean_t pool, boolean_t pool_create)

Comments really need to stay in sync with implementation...
Work Around
N/A
Comments
N/A