Print this page
basic fsh prototype (no comments yet)
@@ -196,10 +196,11 @@
* option requires grabbing the vfs list write lock, which can be a very
* high latency lock.
*/
struct zone; /* from zone.h */
struct fem_head; /* from fem.h */
+struct fsh_fsrecord; /* from fsh_impl.h */
typedef struct vfs {
struct vfs *vfs_next; /* next VFS in VFS list */
struct vfs *vfs_prev; /* prev VFS in VFS list */
@@ -233,10 +234,12 @@
struct vfs *vfs_zone_next; /* next VFS visible in zone */
struct vfs *vfs_zone_prev; /* prev VFS visible in zone */
struct fem_head *vfs_femhead; /* fs monitoring */
minor_t vfs_lofi_minor; /* minor if lofi mount */
+
+ struct fsh_fsrecord *vfs_fshrecord; /* filesystem hooking */
} vfs_t;
#define vfs_featureset vfs_implp->vi_featureset
#define vfs_vskap vfs_implp->vi_vskap
#define vfs_fstypevsp vfs_implp->vi_fstypevsp