hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/fs/squashfs/squashfs.h
....@@ -1,22 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Squashfs - a compressed read only filesystem for Linux
34 *
45 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
56 * Phillip Lougher <phillip@squashfs.org.uk>
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; either version 2,
10
- * or (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
207 *
218 * squashfs.h
229 */
....@@ -53,8 +40,8 @@
5340 /* decompressor_xxx.c */
5441 extern void *squashfs_decompressor_create(struct squashfs_sb_info *, void *);
5542 extern void squashfs_decompressor_destroy(struct squashfs_sb_info *);
56
-extern int squashfs_decompress(struct squashfs_sb_info *, struct buffer_head **,
57
- int, int, int, struct squashfs_page_actor *);
43
+extern int squashfs_decompress(struct squashfs_sb_info *, struct bio *,
44
+ int, int, struct squashfs_page_actor *);
5845 extern int squashfs_max_decompressors(void);
5946
6047 /* export.c */