diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-08-31 05:13:30 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-08-31 05:13:30 +0000 |
commit | 30ed0a197fb0271433d779fa72cef1e9f946acdb (patch) | |
tree | 4d8a397b4c8d27c7ae2896852d222e32f20b2c52 /sys/xfs/xfs_node.h | |
parent | 1de9611a8756024513a888ef62be9f487f9dc81f (diff) |
indent the code and move around some includes, after discussion with Theo
Diffstat (limited to 'sys/xfs/xfs_node.h')
-rw-r--r-- | sys/xfs/xfs_node.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/sys/xfs/xfs_node.h b/sys/xfs/xfs_node.h index 8db5929ffd0..e6d3bea0eec 100644 --- a/sys/xfs/xfs_node.h +++ b/sys/xfs/xfs_node.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xfs_node.h,v 1.1 1998/08/30 16:47:21 art Exp $ */ +/* $OpenBSD: xfs_node.h,v 1.2 1998/08/31 05:13:28 art Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -39,33 +39,32 @@ /* $KTH: xfs_node.h,v 1.3 1998/07/13 20:36:37 art Exp $ */ -#ifndef _xfs_xnode_h -#define _xfs_xnode_h +#ifndef _XFS_XFS_NODE_H_ +#define _XFS_XFS_NODE_H_ #include <sys/types.h> #include <sys/time.h> #include <sys/vnode.h> -#include <sys/xfs_attr.h> -#include <sys/xfs_message.h> +#include <xfs/xfs_attr.h> +#include <xfs/xfs_message.h> struct xfs_node { - struct vnode *vn; - struct vnode *data; - struct vattr attr; - u_int flags; - u_int tokens; - xfs_handle handle; - pag_t id[MAXRIGHTS]; - u_char rights[MAXRIGHTS]; - u_char anonrights; + struct vnode *vn; + struct vnode *data; + struct vattr attr; + u_int flags; + u_int tokens; + xfs_handle handle; + pag_t id[MAXRIGHTS]; + u_char rights[MAXRIGHTS]; + u_char anonrights; }; #define DATA_FROM_VNODE(vp) DATA_FROM_XNODE(VNODE_TO_XNODE(vp)) - #define DATA_FROM_XNODE(xp) ((xp)->data) #define XNODE_TO_VNODE(xp) ((xp)->vn) #define VNODE_TO_XNODE(vp) ((struct xfs_node *) (vp)->v_data) -#endif /* _xfs_xnode_h */ +#endif |