1 /*
2 * Copyright 2000 Hans Reiser
3 * See README for licensing and copyright details
4 *
5 * Ported to FreeBSD by Jean-Sébastien Pédron <jspedron@club-internet.fr>
6 *
7 * $FreeBSD$
8 */
9
10 #ifndef _GNU_REISERFS_REISERFS_MOUNT_H
11 #define _GNU_REISERFS_REISERFS_MOUNT_H
12
13 #if defined(_KERNEL)
14
15 #ifdef MALLOC_DECLARE
16 MALLOC_DECLARE(M_REISERFSMNT);
17 MALLOC_DECLARE(M_REISERFSPATH);
18 MALLOC_DECLARE(M_REISERFSNODE);
19 MALLOC_DECLARE(M_REISERFSCOOKIES);
20 #endif
21
22 /* This structure describes the ReiserFS specific mount structure data. */
23 struct reiserfs_mount {
24 struct mount *rm_mountp;
25 struct cdev *rm_dev;
26 struct vnode *rm_devvp;
27
28 struct reiserfs_sb_info *rm_reiserfs;
29
30 struct g_consumer *rm_cp;
31 struct bufobj *rm_bo;
32 };
33
34 /* Convert mount ptr to reiserfs_mount ptr. */
35 #define VFSTOREISERFS(mp) ((struct reiserfs_mount *)((mp)->mnt_data))
36
37 #endif /* defined(_KERNEL) */
38
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 */
43 };
44
45 #endif /* !defined _GNU_REISERFS_REISERFS_MOUNT_H */
Cache object: 942a535ddd479c74ac9f406556997a00
|