2 * Copyright 2000 Hans Reiser
3 * See README for licensing and copyright details
5 * Ported to FreeBSD by Jean-Sébastien Pédron <jspedron@club-internet.fr>
10 #ifndef _GNU_REISERFS_REISERFS_MOUNT_H
11 #define _GNU_REISERFS_REISERFS_MOUNT_H
16 MALLOC_DECLARE(M_REISERFSMNT);
17 MALLOC_DECLARE(M_REISERFSPATH);
18 MALLOC_DECLARE(M_REISERFSNODE);
19 MALLOC_DECLARE(M_REISERFSCOOKIES);
22 /* This structure describes the ReiserFS specific mount structure data. */
23 struct reiserfs_mount {
24 struct mount *rm_mountp;
26 struct vnode *rm_devvp;
28 struct reiserfs_sb_info *rm_reiserfs;
30 struct g_consumer *rm_cp;
34 /* Convert mount ptr to reiserfs_mount ptr. */
35 #define VFSTOREISERFS(mp) ((struct reiserfs_mount *)((mp)->mnt_data))
37 #endif /* defined(_KERNEL) */
39 /* Arguments to mount ReiserFS filesystems. */
40 struct reiserfs_args {
41 char *fspec; /* blocks special holding the fs to mount */
42 struct oexport_args export; /* network export information */
45 #endif /* !defined _GNU_REISERFS_REISERFS_MOUNT_H */