fstests: convert remaining tests to SPDX license tags
authorDave Chinner <dchinner@redhat.com>
Sat, 9 Jun 2018 01:35:53 +0000 (11:35 +1000)
committerDave Chinner <david@fromorbit.com>
Sat, 9 Jun 2018 01:35:53 +0000 (11:35 +1000)
Fully scripted conversion, see script in initial SPDX license commit
message.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
119 files changed:
tests/cifs/001
tests/ext4/001
tests/ext4/002
tests/ext4/003
tests/ext4/004
tests/ext4/005
tests/ext4/006
tests/ext4/007
tests/ext4/008
tests/ext4/009
tests/ext4/010
tests/ext4/011
tests/ext4/012
tests/ext4/013
tests/ext4/014
tests/ext4/015
tests/ext4/016
tests/ext4/017
tests/ext4/018
tests/ext4/019
tests/ext4/020
tests/ext4/021
tests/ext4/022
tests/ext4/023
tests/ext4/024
tests/ext4/025
tests/ext4/026
tests/ext4/027
tests/ext4/028
tests/ext4/029
tests/ext4/030
tests/ext4/031
tests/ext4/032
tests/ext4/033
tests/ext4/271
tests/ext4/301
tests/ext4/302
tests/ext4/303
tests/ext4/304
tests/ext4/305
tests/ext4/306
tests/ext4/307
tests/ext4/308
tests/f2fs/001
tests/nfs/001
tests/ocfs2/001
tests/overlay/001
tests/overlay/002
tests/overlay/003
tests/overlay/004
tests/overlay/005
tests/overlay/006
tests/overlay/007
tests/overlay/008
tests/overlay/009
tests/overlay/010
tests/overlay/011
tests/overlay/012
tests/overlay/013
tests/overlay/014
tests/overlay/015
tests/overlay/016
tests/overlay/017
tests/overlay/018
tests/overlay/019
tests/overlay/020
tests/overlay/021
tests/overlay/022
tests/overlay/023
tests/overlay/024
tests/overlay/025
tests/overlay/026
tests/overlay/027
tests/overlay/028
tests/overlay/029
tests/overlay/030
tests/overlay/031
tests/overlay/032
tests/overlay/033
tests/overlay/034
tests/overlay/035
tests/overlay/036
tests/overlay/037
tests/overlay/038
tests/overlay/039
tests/overlay/040
tests/overlay/041
tests/overlay/042
tests/overlay/043
tests/overlay/044
tests/overlay/045
tests/overlay/046
tests/overlay/047
tests/overlay/048
tests/overlay/049
tests/overlay/050
tests/overlay/051
tests/overlay/052
tests/overlay/053
tests/overlay/054
tests/overlay/055
tests/overlay/056
tests/overlay/057
tests/overlay/058
tests/overlay/059
tests/overlay/060
tests/perf/001
tests/shared/001
tests/shared/002
tests/shared/003
tests/shared/004
tests/shared/005
tests/shared/006
tests/shared/007
tests/shared/032
tests/shared/272
tests/shared/289
tests/shared/298
tests/udf/102

index 57ce72885cc347dad97a2882758ab0ca81d22d36..193103bf8877073f753fa709b08cebce906dafec 100755 (executable)
@@ -1,27 +1,11 @@
 #!/bin/bash
-# FS QA Test No. cifs/001
-#
-# Sanity test for server-side copies initiated via CIFS_IOC_COPYCHUNK_FILE
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (C) 2014 SUSE Linux Products GmbH. 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
+# FS QA Test No. cifs/001
 #
-#-----------------------------------------------------------------------
+# Sanity test for server-side copies initiated via CIFS_IOC_COPYCHUNK_FILE
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index c22a5e1ed52063bbe69386779ee79a04710d8f46..bf2d16b42b3c71e68e6329d0dfa50cf1c534b1c4 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 001
-#
-# Test fallocate FALLOC_FL_ZERO_RANGE
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright 2014 (C) Red Hat, Inc., Lukas Czerner <lczerner@redhat.com>
 #
-# 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
+# FS QA Test No. 001
 #
-#-----------------------------------------------------------------------
+# Test fallocate FALLOC_FL_ZERO_RANGE
 #
-
 seqfull=$0
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
index 255a18f8d72401b428a522d98b29962827311de5..c4fb3bde8ce17de4f2654f1f0d3a2f8025dae6bc 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2010 Google, Inc.  All Rights Reserved.
+#
 # FS QA Test No. ext4/002
 #
 # Test to ensure that the EOFBLOCK_FL gets set/unset correctly.
 #
 # Ref: http://thread.gmane.org/gmane.comp.file-systems.ext4/20682
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2010 Google, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 7f2d6974fb384c4bb0afd4e4b1a01f5816b001d4..19fe4b4c1f7d697e3802da4969d70f7a30bda3c8 100755 (executable)
@@ -1,23 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2014 Fujitsu.  All Rights Reserved.
+#
 # FS QA Test No. ext4/003
 #
 # Regression test for commit:
 # b5b6077 ext4: fix wrong assert in ext4_mb_normalize_request()
 # This testcase checks whether this bug has been fixed.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2014 Fujitsu.  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.
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 595cd7c46d688a189f7e4a262cb40b5d579c70e7..e34aaa517b61b1b0b5a5a04fab93da868e2e268f 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FSQA Test No. 004
-#
-# Test "dump | restore"(as opposed to a tape)
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2014 Fujitsu.  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
+# FSQA Test No. 004
 #
-#-----------------------------------------------------------------------
+# Test "dump | restore"(as opposed to a tape)
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 1028bf38d9465659a17bd4b5ef7bd52d9bbf03b9..db37c2eaa51eb7769ada66eea1296ca19543f588 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 005
 #
 # Test corruption issue in converting file with a hole at the beginning to
@@ -8,24 +11,6 @@
 # ext4: be more strict when migrating to non-extent based file
 # ext4: correctly migrate a file with a hole at the beginning
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index a1e511e30c99b04837ca0280f7b4f44918436e3a..63e42f58906fa37aaa178d915f3d133d53af8e8f 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 006
 #
 # Create and populate an ext4 filesystem, fuzz the metadata, then see how
 # the kernel reacts, how e2fsck fares in fixing the mess, and then
 # try more kernel accesses to see if it really fixed things.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index aeaa2d322930056cdf5c61d71d3af7621df47629..b7f7c6ce517ecfb66eef4f8113c4ca0431ab7c5c 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 007
 #
 # Create and populate an ext4 filesystem, corrupt the primary superblock, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index c84a28bfb0a900bfd3a83396a7b4d9d8c2ae7bd7..c553760dd33369ea797ae03eb342ecd764be4102 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 008
 #
 # Create and populate an ext4 filesystem, corrupt a group descriptor, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 9e4ac761acf3452add69ee0e4aeaf1af55c793e1..9a2cd0f3c6695609cd6158a3cc280dd03d92211d 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 009
 #
 # Create and populate an ext4 filesystem, corrupt a block bitmap, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 37ba2aaa7c85c533105949b151adee2c765f2ead..ace3cd67088cdfb35df8cff7c92834447499628e 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 010
 #
 # Create and populate an ext4 filesystem, corrupt an inode bitmap, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index c21442fce23c5c07a14a21e82c77a4fcd5ca6ffd..5905da008990b00e984f15d95765da975d0844b8 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 011
 #
 # Create and populate an ext4 filesystem, corrupt the MMP block, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 1bf4fe5eb78fc79252c695138e6fe79b9c02ae9e..adc482da4c57f91d11f445097fb548a0f95985a6 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 012
 #
 # Create and populate an ext4 filesystem, corrupt the journal, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index de0929bd0ec742f81227eef9f34170edb178adce..aa173e77d08fecfab152dd9c0ae1fb62e3d286e2 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 013
 #
 # Create and populate an ext4 filesystem, corrupt an inode, then see how
 # the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 831bed49def668aca6d628d66526fae2badb87f1..18862160aa0b1da0758f193f0f334b5bce9ae515 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 014
 #
 # Create and populate an ext4 filesystem, corrupt root directory, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 52dfb17674ed92ae13646c6444acf5dc74bdbe1e..3f4425a763326f87e1d4e61644ed0a07817b6a1b 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 015
 #
 # Create and populate an ext4 filesystem, corrupt an extent tree block, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index c09d01ba119f2682df6678288a5a385ee95825fb..c6e3f96454baed2f735bb9b907246cf5ee87f249 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 016
 #
 # Create and populate an ext4 filesystem, corrupt a dirent block, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4e3f7da4fe659d84397d25ff341dbecd5edde350..67e7890551acaa565961c76a4da499cf46b3e8a2 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 017
 #
 # Create and populate an ext4 filesystem, corrupt a htree block, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 8df6112c4e7405883a811edf20f8c03c684d3ceb..0116c5f781b24e757b9867fb99926e51602f9d4b 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 018
 #
 # Create and populate an ext4 filesystem, corrupt a xattr block, then
 # see how the kernel and e2fsck deal with it.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 8eb504163a16e00f429b079fdd3d0ffa81ec5f34..d3f916659b4db8cdbd77868ff9fa9dc63704e30b 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 019
 #
 # Create and populate an ext4 filesystem, corrupt a big symlink, then
 # see how the kernel and e2fsck deal with it.  (They won't)
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2015 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 600b7b1555fe0be4c980527f7caf204427a36014..4b833f9e450874e97c1c8c7828f1c338d75ed410 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 020
 #
 # Test partial blocksize defrag integrity issue.
@@ -7,24 +10,6 @@
 # size is smaller than page size would cause integrity issue on the
 # partial-blocksize part when copying data between orign file and donor file.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index e9c177a27f95e78e355865fb86d8b979f6687c24..3d36efd0f2a079f238756d1f2ef2ba21d32b80f5 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Fujitsu.  All Rights Reserved.
+#
 # FS QA Test 021
 #
 # Regression test for commit:
 # 688f869 ext4: Initialize fsync transaction ids in ext4_new_inode()
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2016 Fujitsu.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 9727603a394f1dd548787971a028a3a8f6056284..7dc19e8ea1690cc4f2d93ab30f6df91c7f9e5e78 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test 022
-#
-# Test extending of i_extra_isize code
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2016 SUSE Linux Products GmbH.  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.
+# FS QA Test 022
 #
-# 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
-#-----------------------------------------------------------------------
+# Test extending of i_extra_isize code
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 7ca3d7de88aef55202878d0b83fb43a0d8b774a0..a598e2b4c25e6264b3ae7537e2744283f17b6eda 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Oracle, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 023
 #
 # Ensure that the populate helpers actually /can/ populate a ext4
 # filesystem with all types of metadata and create an image of the
 # metadata.  Check that fsck is happy with the resulting fs.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Oracle, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index a9ce24d406d443299e93fb908a2d9d261fdddb42..c54d2519f811194d279a96f3dba6bc31e67645f0 100755 (executable)
@@ -1,29 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Google, Inc.  All Rights Reserved.
+#
 # FS QA Test ext4/024
 #
 # Regression test for 0d06863f903a ("ext4: don't BUG when truncating encrypted
 # inodes on the orphan list").
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Google, Inc.  All Rights Reserved.
-#
-# Author: Eric Biggers <ebiggers@google.com>
-#
-# 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
-#-----------------------------------------------------------------------
-
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 588c7a3f53790ab508547d3494349f34131896fb..2eab4a467faf827bcfa1d3d2c983a2c1ee1706df 100755 (executable)
@@ -1,28 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Fujitsu.  All Rights Reserved.
+#
 # FS QA Test ext4/025
 #
 # Regression test for commit:
 # 3a4b77c ("ext4: validate s_first_meta_bg at mount time").
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Fujitsu.  All Rights Reserved.
-# Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-#
-# 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
-#-----------------------------------------------------------------------
-
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 7731e92396596c0db8ba8b4d5ca1b03d3108743b..f651fe6e6ee5616fce9d717d66988c2579a9da1c 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Google, Inc.  All Rights Reserved.
+#
 # FS QA Test 026
 #
 # Test for ea_inode feature in ext4. Without ea_inode feature, an extended
@@ -6,24 +9,6 @@
 # allows storing xattr values in external inodes and so raises xattr value
 # size limit to 64k.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Google, 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index f9d99a5166bb466d4216329e2a1d26030b86cb63..8e426b19ab5ddfbe2a7f29d1e9309bbc7d0aee46 100755 (executable)
@@ -1,25 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 027
-#
-# Check that getfsmap reports the BG metadata we're expecting.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2017, Oracle and/or its affiliates.  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.
+# FS QA Test No. 027
 #
-# 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.
+# Check that getfsmap reports the BG metadata we're expecting.
 #
-# 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
-#-----------------------------------------------------------------------
-
 seq=`basename "$0"`
 seqres="$RESULT_DIR/$seq"
 echo "QA output created by $seq"
index 76fbfb0c877e97423333c7161bf0831317421db0..903608a1ae8b491804f1bfb2ca44f4f62ce8c034 100755 (executable)
@@ -1,25 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 028
-#
-# Populate filesystem, check that fsmap -n10000 matches fsmap -n1.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2017, Oracle and/or its affiliates.  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.
+# FS QA Test No. 028
 #
-# 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.
+# Populate filesystem, check that fsmap -n10000 matches fsmap -n1.
 #
-# 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
-#-----------------------------------------------------------------------
-
 seq=`basename "$0"`
 seqres="$RESULT_DIR/$seq"
 echo "QA output created by $seq"
index db0388ea48169360376d94a97f9d4b40c2c72d00..38082f12fcef37a7dbdc6da19d6f3b1da9550191 100755 (executable)
@@ -1,25 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 029
-#
-# Check that getfsmap reports external log devices
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2017, Oracle and/or its affiliates.  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.
+# FS QA Test No. 029
 #
-# 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.
+# Check that getfsmap reports external log devices
 #
-# 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
-#-----------------------------------------------------------------------
-
 seq=`basename "$0"`
 seqres="$RESULT_DIR/$seq"
 echo "QA output created by $seq"
index 85da7557d0a73b4492fd7b849f729ed3731a9085..93bbca860d02685468422d403fb69f3ffd4fd46c 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017-2018 Intel Corporation.  All Rights Reserved.
+#
 # FS QA Test ext4/030
 #
 # This is a regression test for kernel patch:
 #   ext4: prevent data corruption with journaling + DAX
 # created by Ross Zwisler <ross.zwisler@linux.intel.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017-2018 Intel Corporation.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 58177b44ce0cce34d9f953cc134dff7ba8bfd901..53770f035639fb37997ded0b446409a8dbf5145b 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017-2018 Intel Corporation.  All Rights Reserved.
+#
 # FS QA Test ext4/031
 #
 # This is a regression test for kernel patch:
 #   ext4: prevent data corruption with inline data + DAX
 # created by Ross Zwisler <ross.zwisler@linux.intel.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017-2018 Intel Corporation.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 13faa26a0f9f117ec9555a436ce3ad6e08b08341..8534ddd6084bc6d093ec23b68207896d7244bd26 100755 (executable)
@@ -1,28 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2018 Google, Inc.  All Rights Reserved.
+#
 # FS QA Test ext4/032
 #
 # Ext4 online resize tests of small and crucial resizes with bigalloc
 # feature.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2018 Google, Inc.  All Rights Reserved.
-#
-# Author: Harshad Shirwadkar <harshads@google.com>
-#
-# 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
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d3e56ab7d1ba06abf54e0f3cc67d2bee32a89546..93a060898d7694fa416eb82d70a6211e7889f94a 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2018 Jan Kara, SUSE.  All Rights Reserved.
+#
 # FS QA Test 033
 #
 # Test s_inodes_count overflow for huge filesystems. This bug was fixed
 # by commit "ext4: Forbid overflowing inode count when resizing".
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2018 Jan Kara, SUSE.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 6f61e51e865fd15a2680ec6ad01e6685058a0c04..eb64915741224a026d46b3013ee158af424627df 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FSQA Test No. 271
-#
-# Regression testcase for d583fb87a3ff0 (ext4 extent corruption)
-#
-#-----------------------------------------------------------------------
+# 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
+# FSQA Test No. 271
 #
-#-----------------------------------------------------------------------
+# Regression testcase for d583fb87a3ff0 (ext4 extent corruption)
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 2606c33fffa5447af6b966fefd72d6c11f3ff35b..bce11c1b7fc140599d35e210e363ad74f3aad941 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # FSQA Test No. 301
 #
 # Ext4 defragmentation stress test
 # Defragment file while other task does direct io
-#-----------------------------------------------------------------------
-# (c) 2013 Dmitry Monakhov
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d6506f691ded74ef3755859124a6a4e368fdc54d..9e439a6e18d50378994c5bbc5409be6222b5f7c2 100755 (executable)
@@ -1,28 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # FSQA Test No. 302
 #
 # Ext4 defragmentation stress test
 # Perform defragmentation on file under buffered io
 # while third task does direct io to donor file
-#-----------------------------------------------------------------------
-# (c) 2013 Dmitry Monakhov
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index ac75a392c50ccab706550baa5eb8393ed86c2eeb..55b6c7ad7cd5ebbb2988ad77a30a6f993f0957a7 100755 (executable)
@@ -1,28 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # FSQA Test No. 303
 #
 # Ext4 defragmentation stress test
 # Two defrag tasks use common donor file
 #
-#-----------------------------------------------------------------------
-# (c) 2013 Dmitry Monakhov
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 5287ab5d1ed5fcfb8b0f7a326d67d8c202e40699..d9f6cf2ea4eaa5eb9dc617b720d5b29ec3ea2ea8 100755 (executable)
@@ -1,29 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # FSQA Test No. 304
 #
 # Ext4 defragmentation stress test
 # Several threads perform defragmentation at random position
 # using 'inplace' mode (allocate and free blocks inside defrag event)
 # which significantly improve load pressure on block allocator.
-#-----------------------------------------------------------------------
-# (c) 2013 Dmitry Monakhov
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index b7331ae21fd03f68066b71b38107c6f13a7dfd68..a86135cf371cf15a619ad83c64ff9735cc073a8d 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2013 Red Hat, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 305
 #
 # Regression test for commit:
 # 9559996 ext4: remove mb_groups before tearing down the buddy_cache
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2013 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 5b3744d0597c05212e05e6c78f15807f165792c3..b167226240b72bc365ea6bacb1ac8b962e2ae25a 100755 (executable)
@@ -1,27 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2013 Red Hat, Inc.  All Rights Reserved.
+#
 # FS QA Test No. ext4/306
 #
 # Test that blocks are available to non-extent files after a resize2fs
 # Regression test for commit:
 # c5c72d8 ext4: fix online resizing for ext3-compat file systems
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2013 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
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4bca056a3a609f6e2f7f5e89aae23943f76cbecf..df6c841fbfd224e1323783317db5d031fd01f7bb 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FSQA Test No. 307
-#
-# Check data integrity during defrag compacting
-#
-#-----------------------------------------------------------------------
+# 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
+# FSQA Test No. 307
 #
-#-----------------------------------------------------------------------
+# Check data integrity during defrag compacting
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 74bfc1ba79b9a070aef11e2bf31ffaa6a0d1a6c5..946908460a56c2142b549be3ad082bbcaa14d154 100755 (executable)
@@ -1,27 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # FSQA Test No. 308
 #
 # Check data integrity and layout stability during defrag compacting
 # EXT4_IOC_MOVE_EXT simply swap extents between target and donor inode.
 # So if ioctl was performed twice then inode's layout should not change.
 #
-#-----------------------------------------------------------------------
-# (c) 2014 Dmitry Monakhov
-#
-# 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
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index c02363a8025404983b4257874b0c2132a0b7290a..f9cd2cf089a36cf1b8b7b17a3c9f50456eae5aea 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2014 Jaegeuk Kim.  All Rights Reserved.
+#
 # FS QA Test No. f2fs/001
 #
 # Test inline_data behaviors when filesystem is full.
 # In ext4, up to 132 bytes of data can be stored in 256 bytes-sized inode.
 # In f2fs, up to 3.4KB of data can be embedded into 4KB-sized inode block.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2014 Jaegeuk Kim.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 764cde3450db8814922cad3d55f9cd542e5a9920..d7a79cb07d834ea6b0a9d4d2a66265a46cf8c245 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc., All Rights Reserved.
+#
 # FS QA Test 001
 #
 # Test nfs4_getfacl gets ACL list correctly from server when the ACL length is
@@ -6,24 +9,6 @@
 # ERANGE. Upstream commit ed92d8c137b7 ("NFSv4: fix getacl ERANGE for some ACL
 # buffer sizes") fixed this bug.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 1cd9dc5ae3790708310750f61b467451c1ce3f42..af304b8281a30d86968b3415fd36999b3d9efe8c 100755 (executable)
@@ -1,25 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 001
-#
-# Ensure that reflink works correctly with inline-data files.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2017, Oracle and/or its affiliates.  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.
+# FS QA Test No. 001
 #
-# 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.
+# Ensure that reflink works correctly with inline-data files.
 #
-# 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
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index c0abbfb59c6d949601b6fc0afdea734246a78c35..ade7a73a6cb26e0244f0530ecd01e7c1d7725f73 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 001
 #
 # Test copy up files from lower dir that are <, =, > 4G in size.
@@ -6,24 +9,6 @@
 # Kernel commit 0480334fa604 ("ovl: use O_LARGEFILE in ovl_copy_up()")
 # fixed bug when copying up large file from lower dir.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index ffdec1840adaf13a379cf14b0ea470b780bcbc29..dd96cf0d3ab4e1904f1156556522daa0cd9eed25 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved.
+#
 # FS QA Test 002
 #
 # Test that calling fsync against a file using the merged directory does not
@@ -8,26 +11,6 @@
 # memory access) when the lower or upper directory belonged to a btrfs file
 # system.
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2016 SUSE Linux Products GmbH. All Rights Reserved.
-# Author: Filipe Manana <fdmanana@suse.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 154531e88dcd9abe2657a84a5daf52bb87c52f83..878ecbe7e9743cbe9a50401f08d5cbd846897d28 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 003
 #
 # Test overlayfs basic whiteout.
@@ -9,24 +12,6 @@
 # prevents mounting overlayfs like this since v4.6-rc1.
 # No harm to keep this test as a sanity check.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 611847a8179391bef0947f7297a3d5a07024adb2..216df203fe508f3573177666b2daffc75a68ff9d 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test 004
-#
-# Test file copy up on overlayfs by changing mode bits.
-#
-#-----------------------------------------------------------------------
+# 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.
+# FS QA Test 004
 #
-# 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
-#-----------------------------------------------------------------------
+# Test file copy up on overlayfs by changing mode bits.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 87fc9bbc54fb3caf564c9ac545c6b42bb7b51a79..902eda18c8fe7bbc7794d5bf9eee2de258b34981 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 005
 #
 # Memleak in overlayfs copy-up error handling path leads to panic
 # when unmount the underlying fs.
 # Kernel commit ab79efab0 fixed this issue.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 815657f4b287f42de7d3af021f6dc953d0950081..72aa451a3c0b5393d757d0e98c1c538b87fb5891 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.,  All Rights Reserved.
+#
 # FS QA Test 006
 #
 # Test visible whiteout issue after renaming file from lowerdir to a dir in
@@ -7,24 +10,6 @@
 # Upstream commit 45d117389696 ("ovl: ignore lower entries when checking purity
 # of non-directory entries") fixed the issue
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index ed7914b65c63b067e940e28edf4632d809d157f1..5dffc83276bb8c9c0a7fd858c2804dd564d68d36 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 007
 #
 # Test getcwd() failure after unsuccessful rmdir
@@ -6,24 +9,6 @@
 # Upstream commit ce9113bbcbf4 ("ovl: fix getcwd() failure after unsuccessful
 # rmdir") fixed this issue
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d5bc1df3b1c0eab3e873f6b08dcf108f526402a3..29fa509bd8cf46dae90f629a135b759c51b8bb90 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 008
 #
 # Create file/dir over whiteout by another user, uid/gid of the file/dir should
@@ -7,24 +10,6 @@
 # This upstream kernel patch fixed the issue
 # d0e13f5 ovl: fix uid/gid when creating over whiteout
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index f367887424a8bc21d6c192a87d2d7fa21a8e814c..7fe25f2da172d4162df2e54fd7894c28bcdb1161 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 009
 #
 # dentry leak for default_permissions mount option
@@ -6,24 +9,6 @@
 # This is fixed by kernel commit named as
 # ovl: fix dentry leak for default_permissions
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 32af89c82fe044dbe83d5c7e7462e218b3c9dc78..c3f4a51d5e7d980c19c40a7769564270fd87b3a6 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 010
 #
 # Remove dir which contains whiteout from lower dir.
@@ -6,24 +9,6 @@
 # The following kernel commit fixed the kernel crash on the removal
 # 84889d4 ovl: check dentry positiveness in ovl_cleanup_whiteouts()
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 87ac17b865ebba0a026d59aaecbe7505de6a42b6..e2fedc90d23aa28eb30553f2abcdc4e70f6e2f87 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 011
 #
 # test overlay private xattr on overlayfs with multiple lower dirs, all the
@@ -7,24 +10,6 @@
 #
 # Commit b581755b1c56 ("ovl: xattr filter fix") fixed this issue.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 9cf152683effe8719f4d221d14e1e08cdacf4d28..ca9311ecca9acb6e9785b2248745813d87de695a 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 012
 #
 # The upper dentry may become stale before we remove it from
@@ -8,24 +11,6 @@
 # Commit cfc9fde0b07c ("ovl: verify upper dentry in
 # ovl_remove_and_whiteout()") fixed this issue.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 8ff438d8f4f66911b761fe2863fcc6c27165f20b..b42be6becb0a04820342a8d9d8805607ca5a8408 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 013
 #
 # Test truncate running executable binaries from lower and upper dirs.
 # truncate(2) should return ETXTBSY, not other errno nor segfault
 #
 # Commit 03bea6040932 ("ovl: get_write_access() in truncate") fixed this issue.
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 67fad9fd6e306fd11a51b33312c4e93ca5bb73ba..60d48eba25c12cfa6a6c3398c023404665a0fde2 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 014
 #
 # Test copy-up of lowerdir with opaque xattr set.
 #
 # This is fixed by "ovl: don't copy up opaqueness".
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4894097624155be24ee121aaa77432d3b501fa03..7d726f7daaebaeed97e2301fb3a04a612fad2ba1 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test 015
-#
-# SGID bit inheritance over whiteout.
-#
-#-----------------------------------------------------------------------
+# 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.
+# FS QA Test 015
 #
-# 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
-#-----------------------------------------------------------------------
+# SGID bit inheritance over whiteout.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 86a7d28faea833cfea7978757352a1bf4a357113..5c5d9ab6f485d64e705621dde07c39a836591fb8 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2016 CTERA Networks. All Rights Reserved.
+#
 # FSQA Test No. 016
 #
 # Test ro/rw fd data inconsistecies
@@ -8,26 +11,6 @@
 # - process B writes new data to file F
 # - process A reads old data from file F
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2016 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 2102b9e5b58abdea110921acb7c4651cb3f3c63d..436315b06c80aeaba7ed762f88168d181c460019 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2016 CTERA Networks. All Rights Reserved.
+#
 # FSQA Test No. 017
 #
 # Test constant inode numbers
 # and if inode numbers persist after rename, drop caches and
 # mount cycle.
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2016 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 6e026c1bcb4d4069226e28139c5f64687f7d7831..2c047c25ec9897ca869ccdf7be34e924c6d79d86 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved.
+#
 # FSQA Test No. 018
 #
 # Test hardlink breakage
@@ -8,26 +11,6 @@
 # - modify A to trigger copy up
 # - file A is no longer a hardlink of file B
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 575aaf754e86c8d16d14d83aec6b0f6aff01b08a..ceb76e946d57e92f838e70e4206891efc5a17729 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test 019
-#
-# Run fsstress on lower dir and top dir at the same time
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2016 Google, 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.
+# FS QA Test 019
 #
-# 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
-#-----------------------------------------------------------------------
+# Run fsstress on lower dir and top dir at the same time
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index de3816c2267058d1b4c5d22f863c23f0eaf4738d..85488b83bdc26414c1971cc675e55eb1586aff2c 100755 (executable)
@@ -1,28 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 020
 #
 # Reproducer from kernel commit 3fe6e52
 #    ovl: override creds with the ones from the superblock mounter
 # Testing ovl copyup/namespace/cred issue.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 1347f5202952299f3f7abcb6a8284ec2f2da39b0..01c596f5e71d628b108664d235daa399939856c5 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FS QA Test 021
-#
-# Test concurrent copy up
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (C) 2016 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
 #
-# 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.
+# FS QA Test 021
 #
-# 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
-#-----------------------------------------------------------------------
+# Test concurrent copy up
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index ef4d73f43c1dec09f04e0cf396f54c91238598f1..b6cfd0d79ef1070241600b0a8851d34192e4f001 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc. All Rights Reserved.
+#
 # FS QA Test 022
 #
 # Regression test for kernel commit:
@@ -7,24 +10,6 @@
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 8da3c20436bf44bd40ed0455b0af93e2bd042411..7e48349d1a124d2225c1d83d5282bdf8e4232f30 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 023
 #
 # The "work" directory in an overlyfs workdir should not inherit
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 75bd067c325c305615bf7c2b86f1612d1b6b8ac8..ea939fa3008da16b9d35741b3a94f99675a13a96 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 024
 #
 # "work" directory under workdir should be cleaned up
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index bdbb4e511a9476dd0f5567eba84f43a1aa81d4b1..952d6adeb928dd1fc9fde7f2b84c77bd36dee78c 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 025
 #
 # Overlayfs failed to get posix acls if lower or upper
@@ -9,24 +12,6 @@
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 55adbadf952cf3d900b84d45e11f679f750bbc2e..08cad42fc5142972a626661032aff42ccabf9332 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 026
 #
 # Overlayfs should only filter out xattr starting with
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 90da4e74a5497a11215b0152b6b76a4fc6e8c0c4..5c1da309560b87b890a714496b4c9754290b3421 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 027
 #
 # If underlying upper file is immutable, it should stays
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4b8a3a1fedd15ca8ca87091daf647c8e97bec3b6..5d5fe0274cdeaf5b5d54f860260a6b4294d7adbc 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 028
 #
 # When file in lower dir is locked and it's been copied up,
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 2ac674f02cda29bcf65c3ca7326362ca1b20a07b..1d2d20929c4965595bd1d816c910afe9e618fd9e 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 029
 #
 # There are dirs/files in lower dir and upper dir before
 # This reproducer was originally written by
 #     Miklos Szeredi <mszeredi@redhat.com>
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index bbce1401b7692141fd12373920aede6e42f58afc..379c087de8f9731f8966ba6cf1df3743e8997669 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 030
 #
 # Run the t_immutable test program for immutable/append-only files
@@ -8,26 +11,6 @@
 # the original test is _notrun on overlay mount because FS_IOC_GETFLAGS
 # FS_IOC_SETFLAGS ioctls fail on overlay directory inodes.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 90a06af6cb56581e2dd82ccdfbeee011f943a509..2740c7c3e9c964d35059614f519517131e9c7da6 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Huawei.  All Rights Reserved.
+#
 # FS QA Test 031
 #
 # The unmerged and origined directories may contain invalid
@@ -6,24 +9,6 @@
 # and remount overlay. This may lead to whiteouts exposure and
 # rmdir failure.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Huawei.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 40dcba9ca2d1ccbde8fc37a3b1af76df02aaf2a0..8d7bad8cb00d28529f739c6240cce7e80585a996 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 032
 #
 # Test concurrent copy up of lower hardlinks.
@@ -9,25 +12,6 @@
 # should end up being upper hardlinks and both metadata changes should be
 # applied.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 3e6750014168eac4fabec6405d291e4b7c764c1a..2fedda6fab5d77ac39c219ff0f2bcfad27e13bdf 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 033
 #
 # Test nlink accounting of overlay hardlinks.
@@ -6,25 +9,6 @@
 # nlink of overlay inode should account for the union of lower and upper
 # hardlinks.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d9f9798a8ca1a17572f1fc3f214900522d9ed9f2..ea0e6f55f5d63943522948e8e1bf7b4f88708f23 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 034
 #
 # Test overlay nlink when adding lower hardlinks.
 # With overlayfs indexed copy up and without the fix, the test triggers
 # WARN_ON(inode->i_nlink == 0) in drop_link().
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d1b2c19b8becf8aa605ee73f720ad13f1141a566..f36c1e10cc705f7781520c77fca82f1b50f9434c 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 035
 #
 # Test cases that force read-only mount
@@ -6,25 +9,6 @@
 # - No upper dir
 # - Failure to create work dir
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 8d3ccf49cbbd1a2351ff14ca09c0e6725597b79a..d7cdc5734802b2e0700ef4376fa323bbf1ddcaaa 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 036
 #
 # Test mount error cases with exclusive directories
 # - Upper dir is in-use by another overlay mount
 # - Work dir is in-use by another overlay mount
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4e2e5df943c47c3baef408f3e26095f68cb85357..e73755822c1cfc06f85bcf048defbdb456df95fe 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 037
 #
 # Test mount error cases with option index=on
 #
 # Failure to verify lowerdir/upperdir on mount results in ESTALE.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 972a16ea7e7f13ad0f5259b7ee3f2fd0b1c843af..716d0fcaa492720fe066c2e9a4c3285283e2f529 100755 (executable)
@@ -1,28 +1,11 @@
 #! /bin/bash
-# FSQA Test No. 038
-#
-# Test consistent d_ino numbers for samefs setup.
-#
-#-----------------------------------------------------------------------
-#
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (C) 2017 IBM Corporation. All Rights Reserved.
-# Author: Chandan Rajendra <chandan@linux.vnet.ibm.com>
 #
-# 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.
+# FSQA Test No. 038
 #
-# 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
-#-----------------------------------------------------------------------
+# Test consistent d_ino numbers for samefs setup.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index cd81ce53028d67e1faa297de9ccd7ae54aa61744..d5f68223cbc8b7647703a5324739f67dfcc983ec 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Huawei.  All Rights Reserved.
+#
 # FS QA Test 039
 #
 # Test access time update issue for directories in upper layer.
@@ -6,25 +9,6 @@
 # Upstream Commit cd91304e7190 ("ovl: fix relatime for directories")
 # fixed this issue.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Huawei.  All Rights Reserved.
-# Author: zhangyi (F) <yi.zhang@huawei.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4fff7570c2c600b6b8a1057d5130edbb541cd02b..f3e315745285d777330ffa8b026a6f459e012489 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Huawei.  All Rights Reserved.
+#
 # FS QA Test 040
 #
 # chattr with [iap..] attributes open file for read-only and
 # ioctl on lower layer") return EPERM for this case to avoid
 # this issue.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Huawei.  All Rights Reserved.
-# Author: zhangyi (F) <yi.zhang@huawei.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 458c900893c872b4a40a7ab2280b16cd858a0400..2c4f9fd1df6939f5325c0820394fc24a50cf26d1 100755 (executable)
@@ -1,30 +1,13 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 IBM Corporation. All Rights Reserved.
+#
 # FSQA Test No. 041
 #
 # Test consistent d_ino numbers on non-samefs setup
 # This is a variant of overlay/038 to test consistent d_ino numbers
 # for non-samefs setup.
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2017 IBM Corporation. All Rights Reserved.
-# Author: Chandan Rajendra <chandan@linux.vnet.ibm.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 8967ff37bd1a32132339a45ed6e8dfbc0b4150c3..c739e888205b86c37138cd42a942771bdc5ff5e7 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 042
 #
 # Test creating lower hardlinks for copied up files.
 # This test verifies that behavior is sane after creating lower hardlinks
 # for copied up files while overlayfs is offline.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d11459cfd90d4d7946e6ff48d07432e5e9ff7aeb..8debefcc2172d5a11ce1c88264d18a9df68ecd16 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 IBM Corporation. All Rights Reserved.
+#
 # FSQA Test No. 043
 #
 # Test constant inode numbers on non-samefs setup
 # and if inode numbers persist after rename, drop caches and
 # mount cycle.
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2017 IBM Corporation. All Rights Reserved.
-# Author: Chandan Rajendra <chandan@linux.vnet.ibm.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 7b07f3ce1104fe0744ead760ca705e647525ac0a..f5b465aaf964996c036ae707cebee7d9b32b948d 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 IBM Corporation. All Rights Reserved.
+#
 # FSQA Test No. 044
 #
 # Test hardlink breakage on non-samefs setup
@@ -9,26 +12,6 @@
 # - modify A to trigger copy up
 # - file A is no longer a hardlink of file B
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2017 IBM Corporation. All Rights Reserved.
-# Author: Chandan Rajendra <chandan@linux.vnet.ibm.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 6158dbd53ebc58aefedf175a2c0b364ee46c9a02..acc708718de991a243ec9151511a6d5254af65a1 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 045
-#
-# Test fsck.overlay how to deal with whiteouts in overlayfs.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2018 Huawei.  All Rights Reserved.
-# Author: zhangyi (F) <yi.zhang@huawei.com>
 #
-# 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.
+# FS QA Test No. 045
 #
-# 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
-#-----------------------------------------------------------------------
+# Test fsck.overlay how to deal with whiteouts in overlayfs.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index b0ede6cd46ef6acdf5b83024506518c100bf3208..1c09609c38ec9a818b2837028c288b3fd836ae73 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 046
-#
-# Test fsck.overlay how to deal with redirect xattr in overlayfs.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2018 Huawei.  All Rights Reserved.
-# Author: zhangyi (F) <yi.zhang@huawei.com>
 #
-# 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.
+# FS QA Test No. 046
 #
-# 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
-#-----------------------------------------------------------------------
+# Test fsck.overlay how to deal with redirect xattr in overlayfs.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index ad1aabe469ec454f63192fa53cc9ec62ab777dda..8fe508dba5e63b66da1f067306672d00799775ee 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved.
+#
 # FSQA Test No. 047
 #
 # Test hardlink breakage after unlink and mount cycle
@@ -8,26 +11,6 @@
 # - unlink A and mount cycle
 # - check that B still contains the modified data
 #
-#-----------------------------------------------------------------------
-#
-# Copyright (C) 2016-2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 3ce62704a3a9d072bc6766cf9a4ef2cf0e75f987..b8a985cf34fc897f84e9450ff2361e50a6882632 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 048
 #
 # Test nlink accounting of overlay hardlinks with offline modifications.
@@ -7,25 +10,6 @@
 # hardlinks. Orphan index inodes with union nlink 0 should be cleaned on
 # mount.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2017 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 376acf59ebc197bd08624b99add43b79c1da5578..8d784d8a45b7263e2c57bb43a2f0dd864ae1c0ca 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 049
 #
 # Test multiple redirects to the same lower dir.
 # The check for multiply redirected dir was a by-product of kernel
 # commit 31747eda41ef ("ovl: hash directory inodes for fsnotify")
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 31d970026c107fec3ed9279a9d712dd238edb230..a4c797c6ccdd23175c6dca20b12356ed3e9faf79 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 050
 #
 # Test encode/decode overlay file handles
 # This test requires and enables overlayfs NFS export support.
 # NFS export support depends on and requires overlayfs index feature.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 04bd133801681368cabbd7d32d4ec827ae164e50..c5b59ddf860e2dc547b926e94d3af65ca7612f8c 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 051
 #
 # Test encode/decode overlay file handles for non-samefs.
 # This test requires and enables overlayfs NFS export support.
 # NFS export support depends on and requires overlayfs index feature.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 130adf22a8ee4e46e97b8895a0ed255169affa07..b1cf0da64bbf21b0a6c09eda8883b55a087ab3e8 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 052
 #
 # Test encode/decode overlay file handles with renames
 # dir rename support (redirect_dir).
 # NFS export support depends on and requires overlayfs index feature.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index d766cde7f48c87d9980514395d4a35cce229d283..ff95424741ec5809a8b9912e4df789df4166fef5 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 053
 #
 # Test encode/decode of non-samefs overlay file handles with renames
 # dir rename support (redirect_dir).
 # NFS export support depends on and requires overlayfs index feature.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index a1011e42db034e1e119bbdc225dd2f2e0bffbf34..4457d3fc27ef9337d8dfb89d1c5ff7176ccf9055 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 054
 #
 # Test encode/decode overlay file handle of dir with non-indexed ancestor
 # Regression test for kernel commit 2ca3c148a062 ("ovl: check lower ancestry
 # on encode of lower dir file handle")
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 0bb903903b339e6152345e2dab0373025e5f3f7e..c0bc61229e508f45293775d21487a1f34e0cee6c 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 055
 #
 # Test overlay file handle of dir with ancestor under lower redirect
 # Regression test for kernel commit 2ca3c148a062 ("ovl: check lower ancestry
 # on encode of lower dir file handle")
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 3a85c821909ca81af0ac9adf60a88ad690de76dc..778e1f6a93b5d5e772f0cbb910f5b7faf2a458a9 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 056
-#
-# Test fsck.overlay how to deal with impure xattr in overlayfs.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2018 Huawei.  All Rights Reserved.
-# Author: zhangyi (F) <yi.zhang@huawei.com>
 #
-# 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.
+# FS QA Test No. 056
 #
-# 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
-#-----------------------------------------------------------------------
+# Test fsck.overlay how to deal with impure xattr in overlayfs.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 75b907ae920e770b7874b9a58a0ebc286953f132..1265a577de27fb995509714c0dc1ff761da92c9d 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
+#
 # FS QA Test No. 057
 #
 # Test absolute redirect is followed even if ancestor is opaque
 # "redirect" directory in upper should merge with lower1:/a/b/c/ and
 # lower0:/a/b/d/, despite lower1:/a/b/ being opaque.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
-# Author: Vivek Goyal <vgoyal@redhat.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4c4ca45998b83ac26aa32dc6be416f4fd3b532c7..fe7663420a7604311012bec8da58dc813315c1c9 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test No. 058
 #
 # Test decoding overlay file handles with warm/cold dentry cache
 # This test requires and enables overlayfs NFS export support.
 # NFS export support depends on and requires overlayfs index feature.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 5ac2b1b618604958dd24c16a37897b2409fc403b..e86397358881ea436286359577c1c831c875cf9d 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
+#
 # FS QA Test 059
 #
 # Test multiple origin references to the same lower file.
 # The check for multiply referenced origin was a by-product of kernel
 # commit 31747eda41ef ("ovl: hash directory inodes for fsnotify")
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2018 CTERA Networks. All Rights Reserved.
-# Author: Amir Goldstein <amir73il@gmail.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index f1a9d34658c41823b5f92dcf53601856b3dbd481..68b8776ea4755e53f81a417970e6b6ca26549340 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 060
-#
-# Test metadata only copy up functionality.
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (C) 2018 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.
+# FS QA Test No. 060
 #
-# 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
-#-----------------------------------------------------------------------
+# Test metadata only copy up functionality.
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index a9e933df77918164f90d9a0ef1bd7c8ba90d7dac..5a6d9b29cb930ff95273c7844b15dec9afaae53b 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
 # perf/001 Test
 #
 # Buffered random write performance test.
 #
-#-----------------------------------------------------------------------
-# (c) 2017 Josef Bacik
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 49991fda6338fc9a8b18040a28c5521d5e0de9bb..bde6e1987d90fa8c485326064dbe137897099006 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test No. 001
 #
 # Test truncate orphan inodes when mounting extN.
@@ -6,24 +9,6 @@
 #
 # 721e3eb ext4: lock i_mutex when truncating orphan inodes
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 0b278396de5c86c5a86d7b4af2afb3665ebfc394..30ece33706017ad8719e1c3d4951a84890ed4696 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved.
+#
 # FS QA Test No. 002
 #
 # Test that after syncing the filesystem, adding many xattrs to a file, syncing
@@ -9,25 +12,6 @@
 #
 # This test is motivated by a bug found in btrfs.
 #
-#-----------------------------------------------------------------------
-# Copyright (C) 2015 SUSE Linux Products GmbH. All Rights Reserved.
-# Author: Filipe Manana <fdmanana@suse.com>
-#
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 9a9956cf44de68a1e5c7e43733ae68c6e77baf22..761b9691d4ccf638d6d5bc800cfbf1ddbe25b8d4 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test 003
 #
 # Test mount a needs_recovery partition with noload option.
@@ -8,24 +11,6 @@
 #
 # Also test on ext2/3.
 #
-#-----------------------------------------------------------------------
-# 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4bdae18925e92a3df8e869fd572e2174723bf569..3021c85d51eb1b7e9f043b0abfe35fadfa60c747 100755 (executable)
@@ -1,27 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2016 Fujitsu.  All Rights Reserved.
+#
 # FS QA Test 004
 #
 # Regression test for commit:
 # c9eb13a ext4: fix hang when processing corrupted orphaned inode list
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2016 Fujitsu.  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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index de7b84ffd7602202a38b13593051e495e019c1fa..67940dd0d0fc9ce764a7c4cd907760121c775c3d 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Oracle, Inc.  All Rights Reserved.
+#
 # FSQA Test No. 005
 #
 # Since loff_t is a signed type, it is invalid for a filesystem to load
 # So, create this malformed inode and try a buffered append to make
 # sure we catch this situation.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Oracle, 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
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 6a237c95a8f9e39953b3b5c876021e18c32a94d9..aa65e9a29e7b2d282013eb6406777853b20c3892 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2014 Red Hat Inc.  All Rights Reserved.
+#
 # FS QA Test No. shared/006
 #
 # Stress test fs by using up all inodes and check fs.
@@ -6,24 +9,6 @@
 # Also a regression test for xfsprogs commit
 # d586858 xfs_repair: fix sibling pointer tests in verify_dir2_path()
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2014 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
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 785f19f3dcc6660683d6543b4b7f738be099d16b..65cb5273b6a04e5cb14d4a9717e1ac5844b13bae 100755 (executable)
@@ -1,4 +1,7 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2017 Oracle, Inc.  All Rights Reserved.
+#
 # FSQA Test No. 007
 #
 # Since loff_t is a signed type, it is invalid for a filesystem to load
 # So, create this malformed inode and try a dio append to make sure we
 # catch this situation.
 #
-#-----------------------------------------------------------------------
-# Copyright (c) 2017 Oracle, 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
-#-----------------------------------------------------------------------
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 3b06382664e875ef83c0db2aa9d9125cbad4cf32..3b0263b2ce78585d88dcc404e231ba411ae92a98 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 032
-#
-# cross check mkfs detection of foreign filesystems
-#
-#-----------------------------------------------------------------------
+# 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
+# FS QA Test No. 032
 #
-#-----------------------------------------------------------------------
+# cross check mkfs detection of foreign filesystems
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 0c9763df00781ab382c9ef9d9ad1ccda9bca7a08..b94dfc3c3d870be4fe4b76b145205d6f09508758 100755 (executable)
@@ -1,27 +1,11 @@
 #! /bin/bash
-# FSQA Test No. 272
-#
-# Test data journaling flag switch for a single file  
-#
-#-----------------------------------------------------------------------
+# 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
+# FSQA Test No. 272
 #
-#-----------------------------------------------------------------------
+# Test data journaling flag switch for a single file  
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 4a2e04c5837c0683597341a7f65ed469da377b08..94b644302b2d7fddce612c129baf1c503a265e33 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 289
-#
-# Test overhead & df output for extN filesystems
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2012 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.
+# FS QA Test No. 289
 #
-# 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
-#-----------------------------------------------------------------------
+# Test overhead & df output for extN filesystems
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index 9c8e0966de894d2c8c038c01b99357308c6bf924..e7b7b233de45f2370e13634e79921ee730fe0dc8 100755 (executable)
@@ -1,26 +1,11 @@
 #! /bin/bash
-# FS QA Test No. 298
-#
-# Test that filesystem sends discard requests only on free blocks
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
 # Copyright (c) 2013 Red Hat, Inc., Tomas Racek <tracek@redhat.com>
 #
-# 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.
+# FS QA Test No. 298
 #
-# 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
-#-----------------------------------------------------------------------
+# Test that filesystem sends discard requests only on free blocks
 #
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
index dd644c01622b515eae7664c76be8e21149a18bbf..acfa85c303876984ec897fe8fe04387eae35682f 100755 (executable)
@@ -1,28 +1,12 @@
 #! /bin/bash
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
+#
 # FS QA Test No. 102
 #
 # This tests mkfs_udf/mkudffs and the device detection code
 # Modified from UDFQA test 031.
 #
-#-----------------------------------------------------------------------
-# 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.
-#
-# 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
-#
-#-----------------------------------------------------------------------
-#
-
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"