summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2001-03-07 07:09:55 +0000
committermckusick <mckusick@FreeBSD.org>2001-03-07 07:09:55 +0000
commit61db3f4296e7cbf26765b9523064a58053f033d1 (patch)
treebf90f85e1534824e6dd81dcd98746b86c51cf6c1 /sys/gnu/fs
parent48c0c7d0fdb3955d984e7d3880153b7b5c711565 (diff)
downloadFreeBSD-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/fs')
-rw-r--r--sys/gnu/fs/ext2fs/inode.h2
1 files changed, 1 insertions, 1 deletions
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.
*/
OpenPOWER on IntegriCloud