diff options
Diffstat (limited to 'sys/gnu/fs/ext2fs/inode.h')
-rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index f2fd0f2..4bd1cf5 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.19 1997/12/05 13:43:47 jkh Exp $ + * $Id: inode.h,v 1.20 1998/01/30 11:34:02 phk Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -46,6 +46,11 @@ #include <ufs/ufs/dinode.h> /* + * The size of a logical block number. + */ +typedef long ufs_lbn_t; + +/* * This must agree with the definition in <ufs/ufs/dir.h>. */ #define doff_t int32_t @@ -67,6 +72,7 @@ struct inode { u_int32_t i_flag; /* flags, see below */ dev_t i_dev; /* Device associated with the inode. */ ino_t i_number; /* The identity of the inode. */ + int i_effnlink; /* i_nlink when I/O completes */ union { /* Associated filesystem. */ struct fs *fs; /* FFS */ @@ -160,6 +166,9 @@ struct indir { } \ } +/* Determine if soft dependencies are being done */ +#define DOINGSOFTDEP(vp) ((vp)->v_mount->mnt_flag & MNT_SOFTDEP) + /* This overlays the fid structure (see mount.h). */ struct ufid { u_int16_t ufid_len; /* Length of structure. */ |