hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/squashfs/decompressor.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef DECOMPRESSOR_H
23 #define DECOMPRESSOR_H
34 /*
....@@ -6,30 +7,17 @@
67 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
78 * Phillip Lougher <phillip@squashfs.org.uk>
89 *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License
11
- * as published by the Free Software Foundation; either version 2,
12
- * or (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
- *
2310 * decompressor.h
2411 */
12
+
13
+#include <linux/bio.h>
2514
2615 struct squashfs_decompressor {
2716 void *(*init)(struct squashfs_sb_info *, void *);
2817 void *(*comp_opts)(struct squashfs_sb_info *, void *, int);
2918 void (*free)(void *);
3019 int (*decompress)(struct squashfs_sb_info *, void *,
31
- struct buffer_head **, int, int, int,
32
- struct squashfs_page_actor *);
20
+ struct bio *, int, int, struct squashfs_page_actor *);
3321 int id;
3422 char *name;
3523 int supported;