| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Squashfs - a compressed read only filesystem for Linux |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
|---|
| 5 | 6 | * 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. |
|---|
| 20 | 7 | * |
|---|
| 21 | 8 | * squashfs.h |
|---|
| 22 | 9 | */ |
|---|
| .. | .. |
|---|
| 53 | 40 | /* decompressor_xxx.c */ |
|---|
| 54 | 41 | extern void *squashfs_decompressor_create(struct squashfs_sb_info *, void *); |
|---|
| 55 | 42 | 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 *); |
|---|
| 58 | 45 | extern int squashfs_max_decompressors(void); |
|---|
| 59 | 46 | |
|---|
| 60 | 47 | /* export.c */ |
|---|