Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/lib/libzfs/common libzfs_fru_clear ...



details:   https://anonhg.NetBSD.org/src/rev/6bbb55f45a50
branches:  trunk
changeset: 760029:6bbb55f45a50
user:      haad <haad%NetBSD.org@localhost>
date:      Fri Dec 24 16:13:58 2010 +0000

description:
libzfs_fru_clear was not ported to NetBSD disable it foor now.

diffstat:

 external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 03382136b7f0 -r 6bbb55f45a50 external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c
--- a/external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c  Fri Dec 24 16:03:54 2010 +0000
+++ b/external/cddl/osnet/dist/lib/libzfs/common/libzfs_util.c  Fri Dec 24 16:13:58 2010 +0000
@@ -615,7 +615,9 @@
        if (hdl->libzfs_log_str)
                (void) free(hdl->libzfs_log_str);
        zpool_free_handles(hdl);
+#ifdef PORT_SOLARIS
        libzfs_fru_clear(hdl, B_TRUE);
+#endif 
        namespace_clear(hdl);
        libzfs_mnttab_fini(hdl);
        free(hdl);



Home | Main Index | Thread Index | Old Index