1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2000-2002 by Hans Reiser, licensing governed by reiserfs/README
5 * GRUB -- GRand Unified Bootloader
6 * Copyright (C) 2000, 2001 Free Software Foundation, Inc.
8 * (C) Copyright 2003 Sysgo Real-Time Solutions, AG <www.elinos.com>
9 * Pavel Bartusek <pba@sysgo.de>
12 /* An implementation for the ReiserFS filesystem ported from GRUB.
13 * Some parts of this code (mainly the structures and defines) are
14 * from the original reiser fs code, as found in the linux kernel.
18 #define SECTOR_SIZE 0x200
22 struct disk_partition;
68 void reiserfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
69 extern int reiserfs_ls (char *dirname);
70 extern int reiserfs_open (char *filename);
71 extern int reiserfs_read (char *buf, unsigned len);
72 extern int reiserfs_mount (unsigned part_length);