Skip to content

Commit 3dcf60b

Browse files
Christoph Hellwigaxboe
authored andcommitted
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>
1 parent 6353599 commit 3dcf60b

31 files changed

Lines changed: 32 additions & 0 deletions

‎block/blk-cgroup.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common Block IO controller cgroup interface
34
*

‎block/blk-core.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Copyright (C) 1991, 1992 Linus Torvalds
34
* Copyright (C) 1994, Karl Keyte: Added support for disk statistics

‎block/blk-exec.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Functions related to setting various queue properties from drivers
34
*/

‎block/blk-iolatency.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Block rq-qos base io controller
34
*

‎block/blk-mq-cpumap.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* CPU <-> hardware queue mapping helpers
34
*

‎block/blk-mq-sched.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* blk-mq scheduling framework
34
*

‎block/blk-mq-sysfs.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
#include <linux/kernel.h>
23
#include <linux/module.h>
34
#include <linux/backing-dev.h>

‎block/blk-mq-tag.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Tag allocation using scalable bitmaps. Uses active queue tracking to support
34
* fairer distribution of tags between multiple submitters when a shared tag map

‎block/blk-mq.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Block multiqueue core code
34
*

‎block/blk-rq-qos.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
13
#include "blk-rq-qos.h"
24

35
/*

0 commit comments

Comments
 (0)