X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Freiserfs.h;h=b61bb6006791766b74f9ee5f1f2016263e8d507e;hb=ddd39d0cc1a025a1e2e3c792cc8286dbdfa29b54;hp=dc893425a532488c05e36cbde3c680e5ebe9a9f6;hpb=b3873d3f4c424e6563750bb517fac03c2e833cdc;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/reiserfs.h b/include/reiserfs.h index dc89342..b61bb60 100644 --- a/include/reiserfs.h +++ b/include/reiserfs.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2000-2002 by Hans Reiser, licensing governed by reiserfs/README * @@ -6,20 +7,6 @@ * * (C) Copyright 2003 Sysgo Real-Time Solutions, AG * Pavel Bartusek - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* An implementation for the ReiserFS filesystem ported from GRUB. @@ -31,6 +18,9 @@ #define SECTOR_SIZE 0x200 #define SECTOR_BITS 9 +struct blk_desc; +struct disk_partition; + /* Error codes */ typedef enum { @@ -75,7 +65,7 @@ typedef enum } reiserfs_error_t; -extern void reiserfs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info); +void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info); extern int reiserfs_ls (char *dirname); extern int reiserfs_open (char *filename); extern int reiserfs_read (char *buf, unsigned len);