diff options
author | mckusick <mckusick@FreeBSD.org> | 2001-03-07 07:09:55 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2001-03-07 07:09:55 +0000 |
commit | 61db3f4296e7cbf26765b9523064a58053f033d1 (patch) | |
tree | bf90f85e1534824e6dd81dcd98746b86c51cf6c1 /sys/gnu | |
parent | 48c0c7d0fdb3955d984e7d3880153b7b5c711565 (diff) | |
download | FreeBSD-src-61db3f4296e7cbf26765b9523064a58053f033d1.zip FreeBSD-src-61db3f4296e7cbf26765b9523064a58053f033d1.tar.gz |
Fixes to track snapshot copy-on-write checking in the specinfo
structure rather than assuming that the device vnode would reside
in the FFS filesystem (which is obviously a broken assumption with
the device filesystem).
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/ext2fs/inode.h | 2 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/inode.h b/sys/gnu/ext2fs/inode.h index 79e79b1..3e7c67d 100644 --- a/sys/gnu/ext2fs/inode.h +++ b/sys/gnu/ext2fs/inode.h @@ -67,6 +67,7 @@ typedef long ufs_lbn_t; */ struct inode { LIST_ENTRY(inode) i_hash;/* Hash chain. */ + TAILQ_ENTRY(inode) i_nextsnap; /* snapshot file list */ struct vnode *i_vnode;/* Vnode associated with this inode. */ struct vnode *i_devvp;/* Vnode for block I/O. */ u_int32_t i_flag; /* flags, see below */ @@ -83,7 +84,6 @@ struct inode { struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */ u_quad_t i_modrev; /* Revision level for NFS lease. */ struct lockf *i_lockf;/* Head of byte-level lock list. */ - struct inode *i_copyonwrite; /* copy-on-write list */ /* * Side effects; used during directory lookup. */ diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 79e79b1..3e7c67d 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -67,6 +67,7 @@ typedef long ufs_lbn_t; */ struct inode { LIST_ENTRY(inode) i_hash;/* Hash chain. */ + TAILQ_ENTRY(inode) i_nextsnap; /* snapshot file list */ struct vnode *i_vnode;/* Vnode associated with this inode. */ struct vnode *i_devvp;/* Vnode for block I/O. */ u_int32_t i_flag; /* flags, see below */ @@ -83,7 +84,6 @@ struct inode { struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */ u_quad_t i_modrev; /* Revision level for NFS lease. */ struct lockf *i_lockf;/* Head of byte-level lock list. */ - struct inode *i_copyonwrite; /* copy-on-write list */ /* * Side effects; used during directory lookup. */ |