1
0
Fork 0

block: add SPDX tags to block layer files missing licensing information

Various block layer files do not have any licensing information at all.
Add SPDX tags for the default kernel GPLv2 license to those.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
hifive-unleashed-5.2
Christoph Hellwig 2019-04-30 14:42:43 -04:00 committed by Jens Axboe
parent 6353599813
commit 3dcf60bcb6
31 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Common Block IO controller cgroup interface * Common Block IO controller cgroup interface
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1994, Karl Keyte: Added support for disk statistics * Copyright (C) 1994, Karl Keyte: Added support for disk statistics

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Functions related to setting various queue properties from drivers * Functions related to setting various queue properties from drivers
*/ */

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Block rq-qos base io controller * Block rq-qos base io controller
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* CPU <-> hardware queue mapping helpers * CPU <-> hardware queue mapping helpers
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* blk-mq scheduling framework * blk-mq scheduling framework
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/backing-dev.h> #include <linux/backing-dev.h>

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Tag allocation using scalable bitmaps. Uses active queue tracking to support * Tag allocation using scalable bitmaps. Uses active queue tracking to support
* fairer distribution of tags between multiple submitters when a shared tag map * fairer distribution of tags between multiple submitters when a shared tag map

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Block multiqueue core code * Block multiqueue core code
* *

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
#include "blk-rq-qos.h" #include "blk-rq-qos.h"
/* /*

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef RQ_QOS_H #ifndef RQ_QOS_H
#define RQ_QOS_H #define RQ_QOS_H

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Functions related to setting various queue properties from drivers * Functions related to setting various queue properties from drivers
*/ */

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Block stat tracking code * Block stat tracking code
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Functions related to generic timeout handling of requests. * Functions related to generic timeout handling of requests.
*/ */

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* buffered writeback throttling. loosely based on CoDel. We can't drop * buffered writeback throttling. loosely based on CoDel. We can't drop
* packets for IO scheduling, so the logic is something like this: * packets for IO scheduling, so the logic is something like this:

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Zoned block device handling * Zoned block device handling
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* Block device elevator/IO-scheduler. * Block device elevator/IO-scheduler.
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* gendisk handling * gendisk handling
*/ */

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/export.h> #include <linux/export.h>

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* fs/ioprio.c * fs/ioprio.c
* *

View File

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/* /*
* MQ Deadline i/o scheduler - adaptation of the legacy deadline scheduler, * MQ Deadline i/o scheduler - adaptation of the legacy deadline scheduler,
* for the blk-mq scheduling framework * for the blk-mq scheduling framework

View File

@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
extern int aix_partition(struct parsed_partitions *state); extern int aix_partition(struct parsed_partitions *state);

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/amiga.h * fs/partitions/amiga.h
*/ */

View File

@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
int ibm_partition(struct parsed_partitions *); int ibm_partition(struct parsed_partitions *);

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/karma.h * fs/partitions/karma.h
*/ */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/msdos.h * fs/partitions/msdos.h
*/ */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/osf.h * fs/partitions/osf.h
*/ */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/sgi.h * fs/partitions/sgi.h
*/ */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/sun.h * fs/partitions/sun.h
*/ */

View File

@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
extern int sysv68_partition(struct parsed_partitions *state); extern int sysv68_partition(struct parsed_partitions *state);

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* /*
* fs/partitions/ultrix.h * fs/partitions/ultrix.h
*/ */