X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fnvpair%2Fnvpair.c;h=00d44263ccda099b8b9351af054639e418942fa8;hb=2598c0012dc33496539ce893a0af601c66cbb7e2;hp=8115091ab9a9ab7176e89f0ee2628dad8b8d8a5a;hpb=428870ff734fdaccc342b33fc53cf94724409a46;p=zfs.git diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c index 8115091..00d4426 100644 --- a/module/nvpair/nvpair.c +++ b/module/nvpair/nvpair.c @@ -20,8 +20,7 @@ */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. */ #include @@ -257,6 +256,12 @@ nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv) nvl->nvl_pad = 0; } +uint_t +nvlist_nvflag(nvlist_t *nvl) +{ + return (nvl->nvl_nvflag); +} + /* * nvlist_alloc - Allocate nvlist. */