hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/mtd/blktrans.h
....@@ -1,20 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU General Public License
15
- * along with this program; if not, write to the Free Software
16
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
- *
184 */
195
206 #ifndef __MTD_TRANS_H__
....@@ -23,7 +9,6 @@
239 #include <linux/mutex.h>
2410 #include <linux/kref.h>
2511 #include <linux/sysfs.h>
26
-#include <linux/workqueue.h>
2712
2813 struct hd_geometry;
2914 struct mtd_info;
....@@ -44,9 +29,9 @@
4429 struct kref ref;
4530 struct gendisk *disk;
4631 struct attribute_group *disk_attributes;
47
- struct workqueue_struct *wq;
48
- struct work_struct work;
4932 struct request_queue *rq;
33
+ struct list_head rq_list;
34
+ struct blk_mq_tag_set *tag_set;
5035 spinlock_t queue_lock;
5136 void *priv;
5237 fmode_t file_mode;