From: Dave Chinner Date: Sat, 9 Jun 2018 01:34:49 +0000 (+1000) Subject: common: convert to SPDX license tags X-Git-Tag: v2022.05.01~1505 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=98a3b42b423d43f56016df09de2ac3c2a988e4a8 common: convert to SPDX license tags These have been scripted conversions then cleaned up by hand as there was no consistency to the formatting of the license headers in the common/ directory. Author information was also removed (it's in the git history) and so now the header format is consistently: ##/bin/bash # SPDX-License-Identifier: GPL-2.0(+) # Copyright (c) . All Rights Reserved. # # Signed-off-by: Dave Chinner --- diff --git a/common/attr b/common/attr index 49679d3c..10b98eef 100644 --- a/common/attr +++ b/common/attr @@ -1,24 +1,7 @@ ##/bin/bash -#----------------------------------------------------------------------- -# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved. # -# 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, -# Mountain View, CA 94043, USA, or: http://www.sgi.com -#----------------------------------------------------------------------- # common extended attribute and ACL support # filesystems that want to test maximum supported acl counts need to diff --git a/common/config b/common/config index d5150050..09e7ffee 100644 --- a/common/config +++ b/common/config @@ -1,21 +1,7 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # setup and check for config parameters, and in particular # # EMAIL - email of the script runner. diff --git a/common/defrag b/common/defrag index d279382f..df249dfd 100644 --- a/common/defrag +++ b/common/defrag @@ -1,24 +1,8 @@ ##/bin/bash -# -# Copyright (c) 2009 Eric Sandeen -# All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2009 Eric Sandeen. All Rights Reserved. # # Functions useful for defragmentation tests -# _require_defrag() { diff --git a/common/dmapi b/common/dmapi index 5eff3d92..5f7e56f7 100644 --- a/common/dmapi +++ b/common/dmapi @@ -1,23 +1,8 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # dmapi functions -# # Commands relitive to dmapi qa diff --git a/common/dmdelay b/common/dmdelay index 7f30d501..b9e4b9bb 100644 --- a/common/dmdelay +++ b/common/dmdelay @@ -1,21 +1,7 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 Red Hat, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common functions for setting up and tearing down a dmdelay device DELAY_NONE=0 diff --git a/common/dmerror b/common/dmerror index 238baa21..4d6b8851 100644 --- a/common/dmerror +++ b/common/dmerror @@ -1,21 +1,7 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2015 Oracle. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common functions for setting up and tearing down a dmerror device echo $MOUNT_OPTIONS | grep -q dax diff --git a/common/dmflakey b/common/dmflakey index 06eee378..51eab16b 100644 --- a/common/dmflakey +++ b/common/dmflakey @@ -1,21 +1,7 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2013 Fusion IO, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common functions for setting up and tearing down a dmflakey device FLAKEY_ALLOW_WRITES=0 diff --git a/common/dmhugedisk b/common/dmhugedisk index 733b10cd..4d0406d6 100644 --- a/common/dmhugedisk +++ b/common/dmhugedisk @@ -1,25 +1,8 @@ ##/bin/bash -# Routines for creating huge (fake) disks -#----------------------------------------------------------------------- -# Copyright (c) 2016 Oracle. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# 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 for more details. +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2016 Oracle. All Rights Reserved. # -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Contact information: Oracle Corporation, 500 Oracle Parkway, -# Redwood Shores, CA 94065, USA, or: http://www.oracle.com/ -#----------------------------------------------------------------------- +# Routines for creating huge (fake) disks _require_dmhugedisk() { diff --git a/common/dmlogwrites b/common/dmlogwrites index bf643a77..9963bd98 100644 --- a/common/dmlogwrites +++ b/common/dmlogwrites @@ -1,21 +1,7 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2015 Facebook, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common functions for setting up and tearing down a dm log-writes device _require_log_writes() diff --git a/common/dmthin b/common/dmthin index da0ad284..039d63e2 100644 --- a/common/dmthin +++ b/common/dmthin @@ -1,21 +1,7 @@ #!/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2015 Red Hat, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common functions for setting up and tearing down a dmthin device # SOOO many devices! diff --git a/common/dump b/common/dump index 8a0ba109..b6b7fb46 100644 --- a/common/dump +++ b/common/dump @@ -1,23 +1,8 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # Functions useful for xfsdump/xfsrestore tests -# # --- initializations --- rm -f $seqres.full diff --git a/common/encrypt b/common/encrypt index 3d77ebd2..1b10aa71 100644 --- a/common/encrypt +++ b/common/encrypt @@ -1,25 +1,8 @@ -#----------------------------------------------------------------------- -# -# Common functions for testing filesystem-level encryption -# -#----------------------------------------------------------------------- +##/bin/bash +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2016 Google, Inc. All Rights Reserved. # -# Author: Eric Biggers -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- +# Functions for setting up and testing file encryption _require_scratch_encryption() { diff --git a/common/filestreams b/common/filestreams index d7a656f8..267dcb3c 100644 --- a/common/filestreams +++ b/common/filestreams @@ -1,23 +1,8 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # Core of filestreams tests. -# _check_filestreams_support() { diff --git a/common/filter b/common/filter index 53874a08..3965c2eb 100644 --- a/common/filter +++ b/common/filter @@ -1,23 +1,8 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # standard filters -# # Checks that given_value is in range of correct_value +/- tolerance. # Tolerance can be an absolute value or a percentage of the correct value diff --git a/common/fuzzy b/common/fuzzy index f89765c1..8c370ae6 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -1,24 +1,8 @@ ##/bin/bash - -# Routines for fuzzing and scrubbing a filesystem. -# -#----------------------------------------------------------------------- -# Copyright (c) 2017 Oracle. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2017 Oracle. All Rights Reserved. # -# 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -#----------------------------------------------------------------------- +# Routines for fuzzing and scrubbing a filesystem. # Modify various files after a fuzzing operation _scratch_fuzz_modify() { diff --git a/common/inject b/common/inject index f30d0ba7..903fb379 100644 --- a/common/inject +++ b/common/inject @@ -1,25 +1,9 @@ ##/bin/bash -# Routines for injecting errors into filesystems -#----------------------------------------------------------------------- -# Copyright (c) 2016 Oracle. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2016 Oracle. All Rights Reserved. # -# Contact information: Oracle Corporation, 500 Oracle Parkway, -# Redwood Shores, CA 94065, USA, or: http://www.oracle.com/ -#----------------------------------------------------------------------- +# Routines for injecting errors into filesystems + . ./common/log # Tests whether $FSTYP is one of the filesystems that supports error injection diff --git a/common/log b/common/log index 7a0a5f1f..c7921f50 100644 --- a/common/log +++ b/common/log @@ -1,24 +1,8 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common routines for log testing -# Created by dxm@sgi.com & tes@sgi.com -# fulldir=$seqres.fulldir rm -rf $fulldir diff --git a/common/module b/common/module index ebaf2906..39e4e793 100644 --- a/common/module +++ b/common/module @@ -1,24 +1,8 @@ ##/bin/bash - -# Routines for messing around with loadable kernel modules -# -#----------------------------------------------------------------------- -# Copyright (c) 2017 Oracle. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2017 Oracle. All Rights Reserved. # -# 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -#----------------------------------------------------------------------- +# Routines for messing around with loadable kernel modules # Return the module name for this fs. _module_for_fs() diff --git a/common/populate b/common/populate index b2dd053f..8c08f516 100644 --- a/common/populate +++ b/common/populate @@ -1,26 +1,10 @@ ##/bin/bash +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2015 Oracle. All Rights Reserved. +# # Routines for populating a scratch fs, and helpers to exercise an FS # once it's been fuzzed. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, -# Mountain View, CA 94043, USA, or: http://www.sgi.com -#----------------------------------------------------------------------- + . ./common/quota _require_populate_commands() { diff --git a/common/punch b/common/punch index 42a7e974..8088b01a 100644 --- a/common/punch +++ b/common/punch @@ -1,21 +1,7 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # common functions for excersizing hole punches with extent size hints etc. # source dmap_scratch_mount etc. diff --git a/common/quota b/common/quota index 68c350ee..0ea1922b 100644 --- a/common/quota +++ b/common/quota @@ -1,26 +1,9 @@ ##/bin/bash -# -# Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. -# All Rights Reserved. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. All Rights Reserved. # # Functions useful for quota tests -# -# # checks that the generic quota support in the kernel is enabled # and that we have valid quota user tools installed. # diff --git a/common/rc b/common/rc index 9d6665b6..b595a6e0 100644 --- a/common/rc +++ b/common/rc @@ -1,24 +1,6 @@ ##/bin/bash -#----------------------------------------------------------------------- -# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane, -# Mountain View, CA 94043, USA, or: http://www.sgi.com -#----------------------------------------------------------------------- +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved. . common/config diff --git a/common/reflink b/common/reflink index 2a7c7b84..e2663277 100644 --- a/common/reflink +++ b/common/reflink @@ -1,25 +1,8 @@ ##/bin/bash -# Routines for reflinking, deduping, and comparing parts of files. -#----------------------------------------------------------------------- -# Copyright (c) 2015 Oracle. All Rights Reserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# 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 for more details. +# SPDX-License-Identifier: GPL-2.0+ +# Copyright (c) 2015 Oracle. All Rights Reserved. # -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA -# -# Contact information: Oracle Corporation, 500 Oracle Parkway, -# Redwood Shores, CA 94065, USA, or: http://www.oracle.com/ -#----------------------------------------------------------------------- +# Routines for reflinking, deduping, and comparing parts of files. # Check that cp has a reflink argument _require_cp_reflink() diff --git a/common/renameat2 b/common/renameat2 index a3351697..f8d6d4f7 100644 --- a/common/renameat2 +++ b/common/renameat2 @@ -1,26 +1,9 @@ -###### -# -# renameat2 helpers -# -#----------------------------------------------------------------------- +##/bin/bash +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2014 Miklos Szeredi. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -#----------------------------------------------------------------------- -# +# renameat2 helpers -# # Setup source or dest # _setup_one() diff --git a/common/repair b/common/repair index b5695413..6bbaffbe 100644 --- a/common/repair +++ b/common/repair @@ -1,23 +1,8 @@ ##/bin/bash -# +# SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# # Functions useful for xfs_repair tests -# _zero_position() { diff --git a/common/scsi_debug b/common/scsi_debug index 74c3802b..d9aa0bd2 100644 --- a/common/scsi_debug +++ b/common/scsi_debug @@ -1,26 +1,8 @@ ##/bin/bash -# -# Copyright (c) 2012 Red Hat, Inc -# All Rights Reserved. -# -# Written by Eric Sandeen -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it would 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 for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2012 Red Hat, Inc. All Rights Reserved. # # Functions useful for tests on unique block devices -# _require_scsi_debug() {