-/* SPDX-License-Identifier: LGPL-2.1 */
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*
* Copyright (c) 2015, James Simmons
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: LGPL-2.1+
/*
* This code handles user interaction with the configuration interface
-/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/* Copyright (c) 2014, 2017, Intel Corporation. */
-/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/* Copyright (c) 2021, UT-Battelle, LLC
*
-# SPDX-License-Identifier: LGPL-2.1
+# SPDX-License-Identifier: LGPL-2.1+
#
# Copyright (c) 2014, 2017, Intel Corporation.
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2014, 2017, Intel Corporation.
-/* SPDX-License-Identifier: LGPL-2.1 */
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*
* Copyright (c) 2014, 2017, Intel Corporation.
-/* SPDX-License-Identifier: LGPL-2.1 */
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*
* Copyright (c) 2015, James Simmons <jsimmons@infradead.org>
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2014, 2017, Intel Corporation.
-/* SPDX-License-Identifier: LGPL-2.1 */
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*
* Copyright (c) 2014, 2017, Intel Corporation.
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2015, James Simmons
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2021 UT-Battelle, LLC
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2014, 2017, Intel Corporation.
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*
* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
-/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/*
* This file is part of Lustre, http://www.lustre.org/
-/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
-/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/*
* This file is part of Lustre, http://www.lustre.org/
-/*
- * 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).
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see
- * http://www.gnu.org/licenses/gpl-2.0.html
- *
- * GPL HEADER END
- */
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2003, 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/utils/liblustreapi.c
- *
* Author: Peter J. Braam <braam@clusterfs.com>
* Author: Phil Schwan <phil@clusterfs.com>
* Author: Robert Read <rread@clusterfs.com>
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
* (C) Copyright 2017 Commissariat a l'energie atomique et aux energies
* alternatives
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
*/
/*
- * lustre/utils/liblustreapi_chlg.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* lustreapi library for filesystem changelog
*
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Use is subject to license terms.
*
- * This library 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
- * Lesser General Public License for more details.
+ * Copyright (c) 2011, 2017, Intel Corporation.
*
- * LGPL HEADER END
+ * Copyright (c) 2018, 2019, Data Direct Networks
*/
/*
- * lustre/utils/liblustreapi_fid.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* lustreapi library for FID mapping calls for determining the pathname
* of Lustre files from the File IDentifier.
- *
- * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
- * Use is subject to license terms.
- *
- * Copyright (c) 2011, 2017, Intel Corporation.
- *
- * Copyright (c) 2018, 2019, Data Direct Networks
*/
/* for O_DIRECTORY and struct file_handle */
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * (C) Copyright (c) 2018, DataDirect Networks Inc, all rights reserved.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * LGPL version 2.1 or (at your discretion) any later version.
- * LGPL version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
+ * Copyright (c) 2018, DataDirect Networks Inc, all rights reserved.
*/
/*
- * lustre/utils/liblustreapi_heat.c
+ * This file is part of Lustre, http://www.lustre.org/
*
- * lustreapi library for heat
+ * lustreapi library for file activity (heat)
*
* Author: Li Xi <lixi@ddn.com>
*/
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
* (C) Copyright 2012 Commissariat a l'energie atomique et aux energies
* alternatives
*
* Copyright (c) 2013, 2017, Intel Corporation.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
*/
/*
- * lustre/utils/liblustreapi_hsm.c
+ * This file is part of Lustre, http://www.lustre.org/
*
- * lustreapi library for hsm calls
+ * library for heirarchical storage management (HSM) calls
*
* Author: Aurelien Degremont <aurelien.degremont@cea.fr>
* Author: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
-/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
- */
+// SPDX-License-Identifier: LGPL-2.1+
/*
* This file is part of Lustre, http://www.lustre.org/
*
- * lustre/utils/liblustreapi_ioctl.c
- *
* lustreapi library for packing/unpacking obd_ioctl_data structure to
* send commands to different OBD devices. Mostly for internal use.
*
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
* Copyright (c) 2014, Intel Corporation.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
*/
/*
- * lustre/utils/liblustreapi_json.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* lustreapi library for json calls
*
-/*
- * 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).
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see
- * http://www.gnu.org/licenses/gpl-2.0.html
- *
- * GPL HEADER END
- */
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * (C) Copyright (c) 2015, DataDirect Networks Inc, all rights reserved.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * LGPL version 2.1 or (at your discretion) any later version.
- * LGPL version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
+ * Copyright (c) 2015, DataDirect Networks, Inc, all rights reserved.
*/
/*
- * lustre/utils/liblustreapi_ladvise.c
+ * This file is part of Lustre, http://www.lustre.org/
*
- * lustreapi library for ladvise
+ * library for passing file access advice from applications to storage
*
* Author: Li Xi <lixi@ddn.com>
*/
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
+ * Copyright (c) 2016, 2017, Intel Corporation.
*/
/*
- * lustre/utils/liblustreapi_layout.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* lustreapi library for layout calls for interacting with the layout of
* Lustre files while hiding details of the internal data structures
* from the user.
*
- * Copyright (c) 2016, 2017, Intel Corporation.
- *
* Author: Ned Bass <bass6@llnl.gov>
*/
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
* (C) Copyright 2014 Commissariat a l'energie atomique et aux energies
* alternatives
*
* Copyright (c) 2017, Intel Corporation.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
*/
/*
- * lustre/utils/liblustreapi_lease.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* lustreapi library for file leases
*
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * (C) Copyright (c) 2020, DataDirect Networks Inc, all rights reserved.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * LGPL version 2.1 or (at your discretion) any later version.
- * LGPL version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
+ * Copyright (c) 2020, DataDirect Networks Inc, all rights reserved.
*/
/*
- * lustre/utils/liblustreapi_lseek.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* lustreapi library for lseek-related functionality
*
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
+ * Copyright (c) 2017, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*
- * lustre/utils/liblustreapi_mirror.c
- *
- * Copyright (c) 2017, Intel Corporation.
+ * library for creating and managing File Level Redundancy (FLR) mirrors
*
* Author: Jinshan Xiong <jinshan.xiong@intel.com>
*/
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
+ * Copyright (C) 2013, Trustees of Indiana University
*
- * LGPL HEADER END
+ * Copyright (c) 2014, Intel Corporation.
*/
/*
- * Copyright (C) 2013, Trustees of Indiana University
+ * This file is part of Lustre, http://www.lustre.org/
*
- * Copyright (c) 2014, Intel Corporation.
+ * lustreapi library for nodemap calls
*
* Author: Joshua Walgenbach <jjw@iu.edu>
*/
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
+ * Copyright (c) 2016, Intel Corporation.
*/
/*
- * lustre/utils/liblustreapi_param.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* This code handles user interaction with the configuration interface
- * to the Lustre file system to fine tune it.
- *
- * Copyright (c) 2016, Intel Corporation.
+ * to the Lustre file system to fine tune it and extract statistics.
*/
#include <errno.h>
#include <fcntl.h>
-/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
- */
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Copyright (c) 2017, DDN Storage Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
- */
-/*
*
* lustreapi library for Persistent Client Cache.
*
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
- */
-/*
- * lustre/utils/liblustreapi_root.c
- *
- * lustreapi library for managing the root fd cache for llapi internal use.
- *
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
*
* Copyright (c) 2018, 2022, Data Direct Networks
*/
+/*
+ * This file is part of Lustre, http://www.lustre.org/
+ *
+ * lustreapi library for managing the root fd cache for llapi internal use.
+ */
/* for O_DIRECTORY and struct file_handle */
#ifndef _GNU_SOURCE
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * (LGPL) version 2.1 or (at your discretion) any later version.
- * (LGPL) version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
- */
-/*
- * Copyright (c) 2012 Commissariat a l'energie atomique et aux energies
+ * (C) Copyright 2012 Commissariat a l'energie atomique et aux energies
* alternatives
+ *
* Copyright (c) 2017, 2021, DDN Storage Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
- */
-/*
- * lustreapi library for file layout swapping.
+ *
+ * library for file layout exchange used by HSM, FLR, migration to
+ * transparently migrate data from one layout to another.
*/
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1+
/*
- * LGPL HEADER START
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * (C) Copyright (c) 2015, Cray Inc, all rights reserved.
+ * Copyright (c) 2015, Cray Inc, all rights reserved.
*
* Copyright (c) 2016, 2017, Intel Corporation.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the GNU Lesser General Public License
- * LGPL version 2.1 or (at your discretion) any later version.
- * LGPL version 2.1 accompanies this distribution, and is available at
- * http://www.gnu.org/licenses/lgpl-2.1.html
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * LGPL HEADER END
*/
/*
- * lustre/utils/liblustreapi_util.c
+ * This file is part of Lustre, http://www.lustre.org/
*
* Misc LGPL-licenced utility functions for liblustreapi.
*