Skip to content

Commit

Permalink
block: add SPDX tags to block layer files missing licensing information
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Christoph Hellwig authored and axboe committed Apr 30, 2019
1 parent 6353599 commit 3dcf60b
Show file tree
Hide file tree
Showing 31 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions block/blk-cgroup.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Common Block IO controller cgroup interface
*
Expand Down
1 change: 1 addition & 0 deletions block/blk-core.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1994, Karl Keyte: Added support for disk statistics
Expand Down
1 change: 1 addition & 0 deletions block/blk-exec.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Functions related to setting various queue properties from drivers
*/
Expand Down
1 change: 1 addition & 0 deletions block/blk-iolatency.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Block rq-qos base io controller
*
Expand Down
1 change: 1 addition & 0 deletions block/blk-mq-cpumap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* CPU <-> hardware queue mapping helpers
*
Expand Down
1 change: 1 addition & 0 deletions block/blk-mq-sched.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* blk-mq scheduling framework
*
Expand Down
1 change: 1 addition & 0 deletions block/blk-mq-sysfs.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/backing-dev.h>
Expand Down
1 change: 1 addition & 0 deletions block/blk-mq-tag.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Tag allocation using scalable bitmaps. Uses active queue tracking to support
* fairer distribution of tags between multiple submitters when a shared tag map
Expand Down
1 change: 1 addition & 0 deletions block/blk-mq.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Block multiqueue core code
*
Expand Down
2 changes: 2 additions & 0 deletions block/blk-rq-qos.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-2.0

#include "blk-rq-qos.h"

/*
Expand Down
1 change: 1 addition & 0 deletions block/blk-rq-qos.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef RQ_QOS_H
#define RQ_QOS_H

Expand Down
1 change: 1 addition & 0 deletions block/blk-settings.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Functions related to setting various queue properties from drivers
*/
Expand Down
1 change: 1 addition & 0 deletions block/blk-stat.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Block stat tracking code
*
Expand Down
1 change: 1 addition & 0 deletions block/blk-timeout.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Functions related to generic timeout handling of requests.
*/
Expand Down
1 change: 1 addition & 0 deletions block/blk-wbt.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* buffered writeback throttling. loosely based on CoDel. We can't drop
* packets for IO scheduling, so the logic is something like this:
Expand Down
1 change: 1 addition & 0 deletions block/blk-zoned.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Zoned block device handling
*
Expand Down
1 change: 1 addition & 0 deletions block/elevator.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Block device elevator/IO-scheduler.
*
Expand Down
1 change: 1 addition & 0 deletions block/genhd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* gendisk handling
*/
Expand Down
1 change: 1 addition & 0 deletions block/ioctl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/capability.h>
#include <linux/blkdev.h>
#include <linux/export.h>
Expand Down
1 change: 1 addition & 0 deletions block/ioprio.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* fs/ioprio.c
*
Expand Down
1 change: 1 addition & 0 deletions block/mq-deadline.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0
/*
* MQ Deadline i/o scheduler - adaptation of the legacy deadline scheduler,
* for the blk-mq scheduling framework
Expand Down
1 change: 1 addition & 0 deletions block/partitions/aix.h
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
extern int aix_partition(struct parsed_partitions *state);
1 change: 1 addition & 0 deletions block/partitions/amiga.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/amiga.h
*/
Expand Down
1 change: 1 addition & 0 deletions block/partitions/ibm.h
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
int ibm_partition(struct parsed_partitions *);
1 change: 1 addition & 0 deletions block/partitions/karma.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/karma.h
*/
Expand Down
1 change: 1 addition & 0 deletions block/partitions/msdos.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/msdos.h
*/
Expand Down
1 change: 1 addition & 0 deletions block/partitions/osf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/osf.h
*/
Expand Down
1 change: 1 addition & 0 deletions block/partitions/sgi.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/sgi.h
*/
Expand Down
1 change: 1 addition & 0 deletions block/partitions/sun.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/sun.h
*/
Expand Down
1 change: 1 addition & 0 deletions block/partitions/sysv68.h
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/* SPDX-License-Identifier: GPL-2.0 */
extern int sysv68_partition(struct parsed_partitions *state);
1 change: 1 addition & 0 deletions block/partitions/ultrix.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* fs/partitions/ultrix.h
*/
Expand Down

0 comments on commit 3dcf60b

Please sign in to comment.