diff options
author | bde <bde@FreeBSD.org> | 1999-11-03 12:05:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-11-03 12:05:39 +0000 |
commit | d60ac1963ebc18f10982883db332b5256d7bc2de (patch) | |
tree | a651e13ac48890d0155fc25a3be13e0346be9c67 /sys/gnu/fs/ext2fs/ext2_mount.h | |
parent | ebbd3f872fe428977e8425d93a3102db4eff37fb (diff) | |
download | FreeBSD-src-d60ac1963ebc18f10982883db332b5256d7bc2de.zip FreeBSD-src-d60ac1963ebc18f10982883db332b5256d7bc2de.tar.gz |
Quick fix for breakage of ext2fs link counts as reported by stat(2) by
the soft updates changes: only report the link count to be i_effnlink
in ufs_getattr() for file systems that maintain i_effnlink.
Tested by: Mike Dracopoulos <mdraco@math.uoa.gr>
Diffstat (limited to 'sys/gnu/fs/ext2fs/ext2_mount.h')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h index 4497454..05f19da 100644 --- a/sys/gnu/fs/ext2fs/ext2_mount.h +++ b/sys/gnu/fs/ext2fs/ext2_mount.h @@ -95,6 +95,7 @@ struct ufsmount { struct netexport um_export; /* export information */ int64_t um_savedmaxfilesize; /* XXX - limit maxfilesize */ struct malloc_type *um_malloctype; /* The inodes malloctype */ + int um_i_effnlink_valid; /* i_effnlink valid? */ int (*um_blkatoff) __P((struct vnode *, off_t, char **, struct buf **)); int (*um_truncate) __P((struct vnode *, off_t, int, struct ucred *, struct proc *)); int (*um_update) __P((struct vnode *, int)); |