diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-03-19 19:57:59 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-03-19 19:57:59 +0000 |
commit | 9449cc628efdb330a020a603f9332e0bc689d6ef (patch) | |
tree | 7434221b9e9c937fe656d78e0eeb92463743fba9 /sys | |
parent | 731e5dc3b0768f9b2fb78d1ed10abf8296bf7ca5 (diff) |
Also shift superblock fields in ffs_reload(), okay beck@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 9582206d94a..1d9e877216f 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.99 2007/03/19 13:27:47 pedro Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.100 2007/03/19 19:57:58 pedro Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -580,6 +580,7 @@ ffs_reload(struct mount *mountp, struct ucred *cred, struct proc *p) bp->b_flags |= B_INVAL; brelse(bp); mountp->mnt_maxsymlinklen = fs->fs_maxsymlinklen; + ffs1_compat_read(fs, VFSTOUFS(mountp), SBOFF); ffs_oldfscompat(fs); (void)ffs_statfs(mountp, &mountp->mnt_stat, p); /* |