X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdclass%2Fuuid.c;h=40fb9840f7181474e34e2e1459c8f9261965fffd;hb=6f34d6b85466bc8cddb8de1816734528af9da09b;hp=5783e09f733fef892dba9e6d6217ceedfb2d5bb7;hpb=1bf0f816930b489822d252bffff666c5384833c9;p=fs%2Flustre-release.git diff --git a/lustre/obdclass/uuid.c b/lustre/obdclass/uuid.c index 5783e09..40fb984 100644 --- a/lustre/obdclass/uuid.c +++ b/lustre/obdclass/uuid.c @@ -1,7 +1,39 @@ /* - * Public include file for the UUID library + * GPL HEADER START + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 only, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License version 2 for more details (a copy is included + * in the LICENSE file that accompanied this code). * - * Copyright (C) 2007 Cluster File System + * You should have received a copy of the GNU General Public License + * version 2 along with this program; If not, see + * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf + * + * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, + * CA 95054 USA or visit www.sun.com if you need additional information or + * have any questions. + * + * GPL HEADER END + */ +/* + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. + * Use is subject to license terms. + */ +/* + * This file is part of Lustre, http://www.lustre.org/ + * Lustre is a trademark of Sun Microsystems, Inc. + * + * lustre/obdclass/uuid.c + * + * Public include file for the UUID library */ #define DEBUG_SUBSYSTEM S_CLASS @@ -9,7 +41,7 @@ #ifndef __KERNEL__ # include #else -# include +# include #endif #include @@ -51,3 +83,4 @@ void class_uuid_unparse(class_uuid_t uu, struct obd_uuid *out) uuid[0], uuid[1], uuid[2], uuid[3], uuid[4], uuid[5], uuid[6], uuid[7]); } +EXPORT_SYMBOL(class_uuid_unparse);